code: def skipif_requires_satisfied(*requirements):
      ws = pkg_resources.WorkingSet()
      try:
          ws.require(*requirements)
      except pkg_resources.ResolutionError:
          return False
      return skipif(True)
  
imports: import os
  import pkg_resources
label_desc: Use image node_id 2 for calling a global function with example usage: skipif_requires_satisfied() and returns: skipif, False