def is_visible(self):
        return is_python_scope(self.view, self.view.sel()[0].begin())
The command is visible only for python code
dataset/ETHPy150Open srusskih/SublimeJEDI/sublime_jedi/utils.py/PythonCommandMixin.is_visible