Returns whether the widget will display a standard close button.
a InfoBar
true if the widget displays standard close button