Testing whether there is element with specified text in current selection.