def request_user_is_admin(request):
 user_db = get_user_db_from_request(request=request)
 return user_is_admin(user_db=user_db)

def request_user_is_admin ( request ) : user_db = get_user_db_from_request ( request = request ) return user_is_admin ( user_db = user_db )
check if the logged-in request user has admin role .