is_online


Description:

public bool is_online ()

Whether the contact is online.

This will be true if the contact's presence type is higher than PresenceType.OFFLINE, as determined by PresenceDetails.typecmp.

Returns:

true if the contact is online, false otherwise