code: def _CheckPythonModule(self, dependency):
      
      module_object = self._ImportPythonModule(dependency.name)
      if not module_object:
        status_message = 'missing: {0:s}'.format(dependency.name)
        return False, status_message
  
      if not dependency.version_property:
        return True, dependency.name
  
      return self._CheckPythonModuleVersion(
          dependency.name, module_object, dependency.version_property,
          dependency.minimum_version, dependency.maximum_version)
docs: Checks the availability of a Python module.
  
      Args:
        dependency (DependencyDefinition): dependency definition.
  
      Returns:
        tuple: consists:
  
          bool: True if the Python module is available and conforms to
              the minimum required version, False otherwise.
          str: status message.