code: def _CheckSQLite3(self):
      
      # On Windows sqlite3 can be provided by both pysqlite2.dbapi2 and
      # sqlite3. sqlite3 is provided with the Python installation and
      # pysqlite2.dbapi2 by the pysqlite2 Python module. Typically
      # pysqlite2.dbapi2 would contain a newer version of sqlite3, hence
      # we check for its presence first.
      module_name = 'pysqlite2.dbapi2'
      minimum_version = '3.7.8'
  
      module_object = self._ImportPythonModule(module_name)
      if not module_object:
        module_name = 'sqlite3'
  
      module_object = self._ImportPythonModule(module_name)
      if not module_object:
        status_message = 'missing: {0:s}.'.format(module_name)
        return False, status_message
  
      return self._CheckPythonModuleVersion(
          module_name, module_object, 'sqlite_version', minimum_version, None)
docs: Checks the availability of sqlite3.
  
      Returns:
        tuple: consists:
  
          bool: True if the Python module is available and conforms to
              the minimum required version, False otherwise.
          str: status message.