def is_enabled(self): return ChromeREPLConnection.is_instance_connected(self.window.active_view())
def is_enabled(self): return ChromeREPLConnection.is_instance_connected(self.view)
def is_enabled(self): if not ChromeREPLConnection.is_instance_connected(self.view): connection = ChromeREPLConnection.get_instance( sublime.active_window().active_view()) connection.connect_to_tab() return True