original_string: public function isValidMetricForReport($metric, $idSite, $apiMethodUniqueId)
      {
          $translation = $this->translateMetric($metric, $idSite, $apiMethodUniqueId);
  
          return !empty($translation);
      }
code: public function isValidMetricForReport($metric, $idSite, $apiMethodUniqueId)
      {
          $translation = $this->translateMetric($metric, $idSite, $apiMethodUniqueId);
  
          return !empty($translation);
      }
code_tokens: public function isValidMetricForReport ( $ metric , $ idSite , $ apiMethodUniqueId ) { $ translation = $ this -> translateMetric ( $ metric , $ idSite , $ apiMethodUniqueId ) ; return ! empty ( $ translation ) ; }
docstring: 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
docstring_tokens: Verfies whether the given metric belongs to the given report .