def check_permission(self, permission_s, logical_operator=all):
self.assert_authz_check_possible()<EOL>if self.authorized:<EOL><INDENT>self.security_manager.check_permission(self.identifiers,<EOL>permission_s,<EOL>logical_operator)<EOL><DEDENT>else:<EOL><INDENT>msg = '<STR_LIT>'<EOL>raise ValueError(msg)<EOL><DEDENT>
: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