Check if you are in any page template, True on success, false on failure.

if ( is_page_template('about.php') ) {
	// Returns true when 'about.php' is being used.
} else {
	// Returns false when 'about.php' is not being used.
}
Advertisements