'Provide call protection for complex target attributes.
As well as including the standard parameters from the original API
call (which is passed in prep_info), this call will add in any
additional entities or attributes (passed in target_attr), so that
they can be referenced by policy rules.'

def check_protection(self, request, prep_info, target_attr=None):

    authorization.check_protection(self, request, prep_info, target_attr)
