@staticmethod
    def get_local(key, default=None, as_tuple=False):
        """
        Returns a value in project settings file

        @param key: a key to get value
        @param default: a return value if specified key is not exists
        @param as_tuple: if provided as True, will returns as a tuple contains
            value and a boolean specified if value gather from project
            settings or not
        """
        if as_tuple:
            return (Settings.get_local(key, default, as_tuple=False), True)
        else:
            project_data = sublime.active_window().project_data()
            if (project_data is not None and
                    "terminality" in project_data and
                    key in project_data["terminality"]):
                return project_data["terminality"][key]
        return default
dataset/ETHPy150Open spywhere/Terminality/settings.py/Settings.get_local/original