protected function hasClient($name) { $name = trim(strtolower($name)); return isset($this->maps[ENTITY_CLIENT][$name]); }