isEmpty

Returns true if there is no text selected.