def get_all_subfolders(mp_folder):
    """return a list of all subfolders objects inside the provided folder object.
    Keyword Arguments:
        mp_folder - Resolve media pool folder object
    """
    folderlist = []
    folderlist += mp_folder.GetSubFolders().values()
    for sub_folder in mp_folder.GetSubFolders().values():
        folderlist += get_all_subfolders(sub_folder)
    return folderlist