async def METHOD_NAME(self, ctx: commands.Context, query: Query) -> List[Query]:
    """Return a list of folders per the provided query."""
    if not await self.localtracks_folder_exists(ctx):
        return []
    query = Query.process_input(query, self.local_folder_current_path)
    if not query.is_local or query.local_track_path is None:
        return []
    if not query.local_track_path.exists():
        return []
    return (
        await query.local_track_path.tracks_in_tree()
        if query.search_subfolders
        else await query.local_track_path.tracks_in_folder()
    )