chickadee » bb » bb:widget?

(bb:widget? X) procedure

Returns #t if X is a widget, or #f otherwise.