I want to know if a particular page exists. I'd like to check against either it's slug or it's title.
There is a function called 'post_exists'. But this function seems to only work if it's invoked in hooks applicable to admin screens.
Is there a similar function that can be used in other contexts?