Add a require object if it does not already exist

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