getHasSelection

Indicates whether the buffer has some text currently selected.

Return

true if the there is text selected