def is_active(self, view_or_path):
        assert (isinstance(view_or_path, sublime.View) or
                isinstance(view_or_path, str)), "bad parameter"

        try:
            return is_active(view_or_path)
        except __HOLE__:
            return is_active_path(view_or_path)
dataset/ETHPy150Open guillermooo/dart-sublime-bundle/lib/analyzer/queue.py/AnalyzerQueue.is_active