is_front_page() function is not working correctly

My Multisite was working fine but suddenly, the wp-signup.php is showing the home page header. The is_front_page function in header.php seems not working correctly and does not recognize that wp-signup.php is not the home page!

Any help?