def request_is_managed_by_flask_classy(self):
        if request.endpoint is None:
            return False
        if ':' not in request.endpoint:
            return False
        class_name, action = request.endpoint.split(':')
        return any(class_name == classy_class.__name__ for classy_class in self.flask_classy_classes) \
            and action in self.special_methods
dataset/ETHPy150Open bouncer-app/flask-bouncer/flask_bouncer.py/Bouncer.request_is_managed_by_flask_classy/original