code: def visit_import(self, node):
          '''triggered when an import statement is seen'''
          if self.process_module:
              # Store salt imported modules
              for module, import_as in node.names:
                  if not module.startswith('salt'):
                      continue
                  if import_as and import_as not in self.imported_salt_modules:
                      self.imported_salt_modules[import_as] = module
                      continue
                  if module not in self.imported_salt_modules:
                      self.imported_salt_modules[module] = modulf visit_import(self, node):
          '''triggered when an import statement is seen'''
          if self.process_module:
              # Store salt imported modules
              for module, import_as in node.names:
                  if not module.startswith('salt'):
                      continue
                  if import_as and import_as not in self.imported_salt_modules:
                      self.imported_salt_modules[import_as] = module
                      continue
                  if module not in self.imported_salt_modules:
                      self.imported_salt_modules[module] = module
docs: triggered when an import statement is seen