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 soup.session_feature.SessionFeature, or else a subtype of some class managed by another feature, such as soup.auth.Auth).

Parameters

featureTypethe #GType of the class of features to check for

Returns

true or false