I agree with @bebef1987, it's like a Wait helper class but it's put into the app object, but it's not really anything to do with the app object in that it's not an action or property on the dom.
I see what @bebef1987 means and we would have normally added a property to the Message class called `exists` (for example) and waited for that to be true.