Check if post exists.
Support fetching media by slug