Drupal6 how to hide primary navigation Is there any function like is_page(like in word press) in Drupal 6

so that I can hide primary navigation menu which is (printed using echo statement) in page.tpl.php. 

My requirement is to hide navigation menu in certain pages (custom theme).
There is drupal_is_front_page

Check if the current page is the front page.

Return value

Boolean value: TRUE if the current page is the front page; FALSE if otherwise.