code: def _GetFlagsDefinedByModule(self, module):
      
      if not isinstance(module, str):
        module = module.__name__
  
      return list(self.FlagsByModuleDict().get(module, []))
docs: Returns the list of flags defined by a module.
  
      Args:
        module: A module object or a module name (a string).
  
      Returns:
        A new list of Flag objects.  Caller may update this list as he
        wishes: none of those changes will affect the internals of this
        FlagValue object.