code: def find_any_distribution(pkgs):
      for pkg in pkgs:
          try:
              return pkg_resources.get_distribution(pkg)
          except pkg_resources.DistributionNotFound:
              pass
      return None
  
imports: import os
  import pkg_resources
  import sys
  from setuptools import setup
  import chainerx_build_helper
label_desc: Use image node_id 2 for calling a global function with example usage: find_any_distribution(pkgs) and returns: None, pkg_resources