Check if a django template file