Code example for Handler

Methods: hasMessagesremoveMessages