def has_requirement(self, project_name):
        for name in project_name, project_name.lower():
            if name in self.requirements or name in self.requirement_aliases:
                return True
        return False
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/req/req_set.py/RequirementSet.has_requirement/original