In both Django and Django Guardian it's simple to test if a user has a permission:
user.has_perm('app.can_eat_pizzas')
It's also easy to test if it has all permissions:
user.has_perms(('app.add_student', 'app.can_deliver_pizzas'))
What's the most pythonic way to test if the user has any permission?
I know I can just chain an if/or statement, but this feels cumbersome:
if user.has_perm('app.add_student') or user.has_perm('app.can_deliver_pizzas')