/** * Check if exists api_key. * Without api_key all requests will be unsuccessful. * @param array $params * @return bool */ public function hasValue($params = array()) { $key = $this->config->get('api_key'); if (!empty($key)) { return parent::hasValue($params); } return parent::hasValue($params); }