An internal method that gets the `names` from sys.modules and returns
        them as a list

def _get_modules(self, names):
        """
        An internal method that gets the `names` from sys.modules and returns
        them as a list
        """
        loaded_modules = []
        for name in names:
            loaded_modules.append(sys.modules[name])
        return loaded_modules