hasFeature

open fun hasFeature(featureType: <Error class: unknown class>): Boolean

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

Return

true or false

Parameters

featureType

the #GType of the class of features to check for