This question has been asked and answered before (here: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=38268) but in Episerver 7 it seems like PageCoreData is deprecated. So what is the best/correct way to check if pages has been deleted. I really dont want to use the try catch method....
This should work:
var mappedContent = PermanentLinkMapper.Instance.Find(someContentReference);
if (mappedContent == null)
// does not exist