def is_authorized_boolean(action, context, data_dict=None):
 outcome = is_authorized(action, context, data_dict=data_dict)
 return outcome.get('success', False)

def is_authorized_boolean ( action , context , data_dict = None ) : outcome = is_authorized ( action , context , data_dict = data_dict ) return outcome . get ( 'success' , False )
runs the auth function but just returns true if allowed else false .