Utilize PANGO_IS_LAYOUT macro, for whatever that's worth.