has_feature


Description:

[ Version ( since = "2.42" ) ]
public bool has_feature (Type feature_type)

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

Parameters:

this

a Session

feature_type

the Type of the class of features to check for

Returns:

true or false