is_layout function

Reports whether x is layout object