Function Widget.hasTooltip

returns true if widget has tooltip to show

bool hasTooltip() @property;