'Return a boolean indicating whether the URL path is a valid LTI end-point.'

def _is_correct_lti_request(self):

    lti_endpoint = self.server.config.get('lti_endpoint', self.DEFAULT_LTI_ENDPOINT)
    return (lti_endpoint in self.path)
