docs: def do_reload(module: types.ModuleType, newer_than: int) -> bool:
      """
      Executes the reload of the specified module if the source file that it was
      loaded from was updated more recently than the specified time
  
      :param module:
          A module object to be reloaded
      :param newer_than:
          The time in seconds since epoch that should be used to determine if
          the module needs to be reloaded. If the module source was modified
          more recently than this time, the module will be refreshed.
      :return:
          Whether or not the module was reloaded
      """
      path = getattr(module, '__file__')
      directory = getattr(module, '__path__', [None])[0]
  
      if path is None and directory:
          path = os.path.join(directory, '__init__.py')
  
      last_modified = os.path.getmtime(path)
  
      if last_modified < newer_than:
          return False
  
      try:
          importlib.reload(module)
          return True
      except ImportError:
          return False