def get_project_folders(window):
    """Get project folder."""
    data = window.project_data()
    if data == None:
        data = {'folders': [{'path': f} for f in window.folders()]}
    return data.get('folders', [])
dataset/ETHPy150Open facelessuser/ColorHelper/color_helper_util.py/get_project_folders/operator `is` -> `==`