public function allowSearch() { return !array_key_exists('allowSearch', $this->config) || $this->config['allowSearch']; }