Zend certified PHP/Magento developer

getUrl returns true even tho the page is set to disabled

I created a page testPage and use $pageExist = $this->getUrl('testPage') ?> so i could render an a block if it exist like so if ($pageExist)

BUT when i go from amdin panel and set page from enabled to disabled, clear cache, the $pageExist is till true, or what i assume, since if statement is getting fired even tho you can not enter that URL