class_docstr: Ranking metric.
class_docstr_tok: ["Ranking","metric","."]
docstr: Check if the provided measure_name is a valid measure name.
docstr_tok: ["Check","if","the","provided","measure_name","is","a","valid","measure","name","."]
code: def validate_measure_name(self, measure_name: str) -> bool:
      """Check if the provided measure_name is a valid measure name."""
      measure_name, k = self.parse_measure_name(measure_name)
      if measure_name in self.SUPPORTED_MEASURES + list(
          pytrec_eval.supported_measures
      ):
          return True
      return False
  
imports: from dataclasses import dataclass
  from typing import Callable, Dict, List, Tuple, Optional
  import pytrec_eval
  from helm.benchmark.adaptation.adapters.adapter_factory import ADAPT_RANKING_BINARY
  from helm.benchmark.adaptation.request_state import RequestState
  from helm.benchmark.adaptation.adapter_spec import AdapterSpec
  from helm.benchmark.scenarios.scenario import unpack_tag, CORRECT_TAG, Reference
  from helm.common.request import RequestResult
  from helm.common.general import binarize_dict
  from .metric import Metric
  from .metric_name import MetricName
  from .metric_service import MetricService
  from .statistic import Stat
label_desc: Use image node_id 3 for calling the RankingMetric obj's underlying member method code with example usage: obj.validate_measure_name(measure_name) and returns: False, True