Added theme_path_exists Twig function thanks to @reinink