code: def is_pytorch_file(rel_filepath):
      assert not os.path.isabs(rel_filepath)
      if rel_filepath.startswith("aten/"):
          if rel_filepath.startswith("aten/src/ATen/core/"):
              return False
          return True
      if rel_filepath.startswith("torch/"):
          return True
      if rel_filepath.startswith("third_party/nvfuser/"):
          return True
      if rel_filepath.startswith("tools/autograd/templates/"):
          return True
      return False
  
imports: import argparse
  import fnmatch
  import re
  import shutil
  import sys
  import os
  from .None import constants
  from .cuda_to_hip_mappings import CUDA_TO_HIP_MAPPINGS
  from .cuda_to_hip_mappings import MATH_TRANSPILATIONS
  from typing import Dict, List, Iterator, Optional
  from collections.abc import Mapping, Iterable
  from enum import Enum
label_desc: Use image node_id 17 for calling a global function with example usage: is_pytorch_file(rel_filepath) and returns: False, True, True, True, True, False