docs: def _contains(self, item):
          """
          Whether given item is contained inside the node modules/packages.
  
          Args:
              item (Package/Module): a package or module.
  
          Returns:
              bool: True if self is item or item in self's packages/modules.
          """
          if self is item:
              return True
          for m in self.modules:
              if item in m:
                  return True
          for p in self.packages:
              if item in p:
                  return True
          return False