code: def pytest_ignore_collect(
      module,
      session,
      filenames_from_full_filters,
      accept_filename_predicate,
  ):
      if session.config.option.mode == "list":
          return not accept_filename_predicate(module.name)
  
      if (
          filenames_from_full_filters is not None
          and module.name not in filenames_from_full_filters
      ):
          return True
  
      test_file_filter = getattr(
          session.config.option, "test_file_filter", None
      )
      if test_file_filter is None:
          return False
      if module.name != test_file_filter.replace("/", "."):
          return True
      return False
  
imports: import os
  import sys
  from six import reraise
  import logging
  import py
  import pytest
  import _pytest.python
  import _pytest.doctest
  import json
  import library.python.testing.filter.filter
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_ignore_collect(module, session, filenames_from_full_filters, accept_filename_predicate) and returns: False, unknown, True, False, True