<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def isloaded(self, name):
 """Checks if given hook module has been loaded Args: name (str):
 The name of the module to check Returns: bool. The return code:: True -- Loaded False -- Not Loaded """

        if name is None:
            return True

        if isinstance(name, str):
            return (name in [x.__module__ for x in self])

        if isinstance(name, Iterable):
            return set(name).issubset([x.__module__ for x in self])

        return False