@Override synchronized public final boolean isRegistered(){
  return !keyList.isEmpty();
}

@ Override synchronized public final boolean isRegistered ( ) { return ! keyList . isEmpty ( ) ; }
indicates whether this channel is registered with one or more selectors .
