code: def _should_skip_file(
      file: str,
      file_prefixes_to_strip: Sequence[str],
      packages_to_ignore: Sequence[str],
      module_prefix: str,
  ) -> bool:
      import_path = _get_import_path(
          file, file_prefixes_to_strip, module_prefix
      )
      return any(
          import_path.startswith(package)
          for package in packages_to_ignore
      )
  
imports: import collections
  from collections.abc import Mapping, Sequence, Set
  import dataclasses
  import os
  from typing import Optional
  from absl import app
  from absl import flags
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 4 for calling a global function with example usage: _should_skip_file(file, file_prefixes_to_strip, packages_to_ignore, module_prefix) and returns: any