Function Widget.needLayout

returns true if layout is required for widget and its children

bool needLayout() @property;