class_docstr: Register module load the registry according to the metrics in config.
  It is a member of DataCollector.
  The DataCollector collect the resource that need for Evaluator under the guidance of Register
code: def has_metric(self, metric: str):
      if metric.lower() in self.metrics:
          return True
      else:
          return False
  
file_path: RecBole/recbole/evaluator/register.py
imports: import inspect
  import sys
label_desc: Use image node_id 3 for calling the Register obj's underlying member method code with example usage: obj.has_metric(metric) and returns: True, False