Widget.isSensitive

bool isSensitive()

Returns the widget’s effective sensitivity, which means it is sensitive itself and also its parent widget is sensitive

Returns

true if the widget is effectively sensitive