Code example for Handler

Methods: hasMessagesobtain