code: def get_modules(self, name):
          
          result = []
          for module in self.names:
              if name in self.names[module]:
                  result.append(module)
          return result
docs: Return the list of modules that have global `name`