Session.hasFeature

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).

class Session
bool
hasFeature

Parameters

featureType gobject.types.GType

the #GType of the class of features to check for

Return Value

Type: bool

true or false