public function havePostmetaInDatabase($post_id, $meta_key, $meta_value)
{
if (!is_int($post_id)) {
throw new \BadMethodCallException('Post id must be an int', 1);
}
if (!is_string($meta_key)) {
throw new \BadMethodCallException('Meta key must be an string', 3);
}
$tableName = $this->grabPostMetaTableName();
return $this->haveInDatabase($tableName, array('post_id' => $post_id, 'meta_key' => $meta_key, 'meta_value' => $this->maybeSerialize($meta_value)));
}