public boolean isSelected(final Sensor sensor){
  return selection.contains(sensor);
}

public boolean isSelected ( final Sensor sensor ) { return selection . contains ( sensor ) ; }
return true if the specified sensor is selected .
