41
39
* @param string|array $format Optional. The format or formats to check.
42
40
* @param object|int $post Optional. The post to check. If not supplied, defaults to the current post if used in the loop.
43
41
* @return bool True if the post has any of the given formats (or any format, if no format specified), false otherwise.