def check_iam_privileges(self, iamrole_item):
        self.library_check_iamobj_has_iam_privileges(iamrole_item, policies_key='rolepolicies')
Return all rows from a cursor as a namedtuple
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/auditors/iam/iam_role.py/IAMRoleAuditor.check_iam_privileges--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/utils/sql.py/fetchall_as_namedtuple