def parseExtensionArgs(self, args):

        # preferred_auth_policies is a space-separated list of policy URIs
        self.preferred_auth_policies = []

        policies_str = args.get('preferred_auth_policies')
        if policies_str:
            for uri in policies_str.split(' '):
                if uri not in self.preferred_auth_policies:
                    self.preferred_auth_policies.append(uri)

        # max_auth_age is base-10 integer number of seconds
        max_auth_age_str = args.get('max_auth_age')
        self.max_auth_age = None

        if max_auth_age_str:
            try:
                self.max_auth_age = int(max_auth_age_str)
            except ValueError:
                pass
Returns a boolean indicating if ``fields`` contains a relationship to multiple items.
dataset/ETHPy150Open CollabQ/CollabQ/openid/extensions/pape.py/Request.parseExtensionArgs--crossover with--dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/utils.py/contains_plural_field