protected function isSupported($action)
    {
        if (empty($this->endpointsSupported) || in_array($action, $this->endpointsSupported)) {
            return true;
        }

        return $this->actionNotSupported($action);
    }
protected function isSupported($action)
    {
        if (empty($this->endpointsSupported) || in_array($action, $this->endpointsSupported)) {
            return true;
        }

        return $this->actionNotSupported($action);
    }
protected function isSupported ( $ action ) { if ( empty ( $ this -> endpointsSupported ) || in_array ( $ action , $ this -> endpointsSupported ) ) { return true ; } return $ this -> actionNotSupported ( $ action ) ; }
Verify that a default endpoint is supported by the API

@param $action

@return bool
Verify that a default endpoint is supported by the API