How to use if (is_page_template (”))

is_page_template() checks against post type templates specified by the theme using

/**
 * Template Name: My Template
 */

at the top of the template file. Not any arbitrary template file. For this, you might wanna check out the answers over at Get name of the current template file. You could grab the code from the accepted answer there (get_current_template()) to do something when single.php === get_current_template().