code: def check(modname):
      
      for dependency in DEPENDENCIES:
          if dependency.modname == modname:
              return dependency.check()
      else:
          raise RuntimeError("Unkwown dependency %s" % modname)
docs: Check if required dependency is installed