def _check_handler(self, handler):
        if inspect.isclass(handler):
            if not issubclass(handler, (MethodBasedView, )):
                raise InvalidHandler(u"Your class should be inherited from "
                                     u"the MethodBasedView class")
        else:
            raise InvalidHandler()
Validate passed handler for requests.
dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/validators.py/HandlerValidator._check_handler