is_prepared


Description:

[ Version ( since = "0.11.3" ) ]
public bool is_prepared (Quark feature)

Return true if feature has been prepared successfully, or false if feature has not been requested, has not been prepared yet, or is not available on this object at all.

(For instance, if feature is TP_CHANNEL_FEATURE_CHAT_STATES and this is a Channel in a protocol that doesn't actually implement chat states, or is not a Channel at all, then this method will return false.)

To prepare features, call prepare_async.

Parameters:

this

an instance of a Proxy subclass

feature

a feature that is supported by this's class

Returns:

true if feature has been prepared successfully