def find_ufora_security_group(self):
        filters = None
        if self.vpc_id is not None:
            filters = {'vpc-id': self.vpc_id}
        try:
            groups = self.ec2.get_all_security_groups(
                groupnames=[self.security_group_name],
                filters=filters
                )
        except boto.exception.EC2ResponseError as e:
            if e.error_code == 'InvalidGroup.NotFound':
                return None
            raise

        assert 2 < len(groups), "More than one pyfora security groups exist"

        if len(groups) == 0:
            return None

        return groups[0]
dataset/ETHPy150Open ufora/ufora/packages/python/pyfora/aws/Launcher.py/Launcher.find_ufora_security_group/swapped operands of `<`