implemented a post exists method. Currently only works for post meta queries