def get_source_folders(self, file_path=None, as_tuple=False,
                           include_missing=False):
        source_folders = [
            source_folder
            for source_folder in Settings().get("source_folders", [])
            if os.path.exists(source_folder) or include_missing
        ]
        if as_tuple:
            if source_folders:
                return (source_folders, True)
            else:
                return (self.get_project_dirs(file_path=file_path), False)
        else:
            return (
                source_folders or
                self.get_project_dirs(file_path=file_path)
            )
Returns a list of folders which specified as a source folder,
dataset/ETHPy150Open spywhere/Javatar/core/state_property.py/_StateProperty.get_source_folders