code: def get_validation_metric(metric_name: str, validation: Any) -> Any:
      if not validation or not validation["metrics"]:
          return None
  
      return (
          validation["metrics"]
          .get("validation_metrics", {})
          .get(metric_name)
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_validation_metric(metric_name, validation) and returns: validation, None