Session.hasFeature

bool hasFeature(gobject.types.GType featureType)

Tests if session has at a feature of type feature_type (which can be the type of either a ifaceSessionFeature, or else a subtype of some class managed by another feature, such as classAuth).

Parameters

featureTypethe #GType of the class of features to check for

Returns

true or false