added havePostMetaInDatabase method