public function isValidMetricForReport($metric, $idSite, $apiMethodUniqueId)
    {
        $translation = $this->translateMetric($metric, $idSite, $apiMethodUniqueId);

        return !empty($translation);
    }
public function isValidMetricForReport($metric, $idSite, $apiMethodUniqueId)
    {
        $translation = $this->translateMetric($metric, $idSite, $apiMethodUniqueId);

        return !empty($translation);
    }
public function isValidMetricForReport ( $ metric , $ idSite , $ apiMethodUniqueId ) { $ translation = $ this -> translateMetric ( $ metric , $ idSite , $ apiMethodUniqueId ) ; return ! empty ( $ translation ) ; }
Verfies whether the given metric belongs to the given report.

@param int $idSite
@param string $metric     For example 'nb_visits'
@param string $apiMethodUniqueId  For example 'MultiSites_getAll'

@return bool
Verfies whether the given metric belongs to the given report .