More than that...
Because IsEmpty() promises not to change the object, The compiler will allow you to invoke this method on a const object (that is, an object whose contents have been declared to be...well...constant). So if you declare a const TextView object, thus:
const TextView aConstView
you could invoke the (const) IsEmpty() method:
bool empty_view = aConstView.IsEmpty(); // compiler will allow this
jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
— Stephen Colbert, at the White House Correspondent's Dinner 29Apr06