PRovide a top level isEmpty function for the widgets.