I need to display certain content depending on whether or not a page URL exists. I don't want to check by title, because certain pages will have the same title, and just different parent pages.
For example one page may be:
http://example.com/analysis/firstNamelastName
http://example.com/exercise/firstNamelastName
I just need to know if one of these URL exists or not.