def delete_policy(self, policy_name):
        if self.policies not in policy_name:
            raise IAMNotFoundException("Policy {0} not found".format(policy_name))

        del self.policies[policy_name]
dataset/ETHPy150Open spulec/moto/moto/iam/models.py/User.delete_policy/swapped operands of `not in`