code: def check_permission(self, permission_s, logical_operator=all):
          
          self.assert_authz_check_possible()
          if self.authorized:
              self.security_manager.check_permission(self.identifiers,
                                                     permission_s,
                                                     logical_operator)
          else:
              msg = 'Cannot check permission when user isn\'t authenticated nor remembered'
              raise ValueError(msg)
docs: :param permission_s: a collection of 1..N permissions
          :type permission_s: List of authz_abcs.Permission objects or Strings
  
          :param logical_operator:  indicates whether all or at least one
                                    permission check is true (any)
          :type: any OR all (from python stdlib)
  
          :raises UnauthorizedException: if any permission is unauthorized