def has_permission(self):
        perms = self.get_permission_required()
        return self.request.user.has_perms(perms)
Test that Flask-Copilot doesn't interfere with normal behavior.
dataset/ETHPy150Open django/django/django/contrib/auth/mixins.py/PermissionRequiredMixin.has_permission--crossover with--dataset/ETHPy150Open jonafato/Flask-Copilot/tests/test_functional.py/test_default_routing_behavior