code: def exclude_yaml_from_test(yaml_file_path: str) -> bool:
      """Check if a yaml file should be excluded from test based on first line marker.
  
      Args:
          yaml_file_path: path to the yaml file to check
  
      Returns:
          True if yaml should be excluded, and False otherwise.
  
      """
      with open(yaml_file_path, "r") as f:
          first_line = f.readline().rstrip()
          return (
              first_line.startswith("#")
              and first_line.lower().replace(" ", "")
              == "#pytest:disable"
          )
  
file_path: ml-cvnets/tests/test_model.py
imports: import sys
  from pathlib import Path
  import pytest
  from typing import Dict
  from torch import Tensor
  from cvnets import get_model
  from loss_fn import build_loss_fn
  from tests.configs import get_config
  from tests.test_utils import unset_pretrained_models_from_opts
label_desc: Use image node_id 2 for calling a global function with example usage: exclude_yaml_from_test(yaml_file_path) and returns: unknown