def is_project(self, window=None):
        window = window or sublime.active_window()
        if window:
            return len(window.folders()) > 0
        return False
Returns whether specified window is a project or not
dataset/ETHPy150Open spywhere/Javatar/core/state_property.py/_StateProperty.is_project