public boolean toggle(Long key){
  if (contains(key)) {
    remove(key);
    return false;
  }
 else {
    add(key);
    return true;
  }
}

public boolean toggle ( Long key ) { if ( contains ( key ) ) { remove ( key ) ; return false ; } else { add ( key ) ; return true ; } }
return true if included ; false if excluded
