As this conditional is used at least twice, and maybe used elsewhere, could it be turned into a method, a la `is_hook( $post )`?