def has_query(self, name):
        try:
            self.get_query(name)
            return True
        except AttributeError:
            return False
alert when an IAM Group has a policy allowing 'iam:PassRole'.
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py/Inspector.has_query--crossover with--dataset/ETHPy150Open Netflix/security_monkey/security_monkey/auditors/iam/iam_group.py/IAMGroupAuditor.check_iam_passrole