Is there a native function to check if a theme a template file. For instance, if a theme is not using the 'home.php' file, then execute some code...
So I would add to the Answer the following:
As @Chip Bennett, said it will check both
But's up to you.