public boolean contains(Object o) {
        SortedListModel<User> model = (SortedListModel<User>) this.userListPane.getModel();
        String user = (String) o;
        User u = new User(user);
        return model.contains(u);
    }