':return: True if we\'re in a context that we can execute without breaking
out.'

def is_executable(self):

    executable_handlers = [self.is_executable_style, self.is_executable_js_event, self.is_executable_html_attr_with_js_protocol]
    for is_executable_handler in executable_handlers:
        if is_executable_handler():
            return True
    return False
