check if post exists