Since you're setting a context variable in get_all_themes and not returning anything now, you need to do `get_all_themes(false);` followed by `$themes = $context['themes'];`. Otherwise $themes will just get set to true (or false if the function fails).