def METHOD_NAME(self):
    prereq = set()
    if self.specification is not None:
        prereq.update(self.specification.METHOD_NAME)
    elif self.details:
        for d in self.details:
            if d.specification is not None:
                prereq.update(d.specification.METHOD_NAME)
    return prereq