code: def test_module(mod, min_version, installed_modules):
      minv = tuple(int(x) for x in min_version.split("."))
      matching_modules = [d for d in installed_modules if d.key == mod]
      if not matching_modules:
          return (
              "Python module `%s` is missing: install it with `pip install '%s>=%s'`"
              % (mod, mod, min_version)
          )
  
      v = max(m.version for m in matching_modules)
      for i, vp in enumerate(v.split(".")):
          if i >= len(minv):
              break
          if vp.isdigit():
              intv = int(vp)
          else:
              j = 0
              while j < len(vp) and vp[j].isdigit():
                  j += 1
              intv = int(vp[:j])
          if intv > minv[i]:
              break
          elif intv < minv[i]:
              return (
                  "Python module `%s` has version %s whereas version %s is required: upgrade it with "
                  "`pip install %s --upgrade`"
                  % (mod, v, min_version, mod)
              )
  
file_path: h2o-3/h2o-py/scripts/verify_requirements.py
imports: import argparse
  import os
  import re
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: test_module(mod, min_version, installed_modules) and returns: unknown, unknown