def overlay_p(self): """ Return True or False if the current widget is an overlay. """ return isinstance(self.loop.widget, urwid.Overlay)