I have template-clientlist.php now I search on wordpress doc but can find a function on how to check if page used template-clientlist.php
template-clientlist.php
<?php
/*
Template Name: Page Of Posts
*/
?>
Is there function that exist or custom function to check if page used the custom template?