def get_watch(folder, watches):
    """
    Check if a folder already has a scheduled watch. If so, return it.
    Else return None.
    """
    for watched_folder, watch in watches.items():
        if folder.startswith(watched_folder):
            return watched_folder, watch
    return None, None
