protected function _isAssociativeArray($array) { return array_keys($array) !== range(0, count($array) - 1); }