Added isEmpty() to UISelectionImpl