code: def add_require(self, require):
          
          for p in self.requires:
              if p.value == require.value:
                  return
          self.requires.append(require)
docs: Add a require object if it does not already exist