synchronized boolean isAttached(Monitor monitorToFind){
  return monitors.contains(monitorToFind);
}

synchronized boolean isAttached ( Monitor monitorToFind ) { return monitors . contains ( monitorToFind ) ; }
checks if a given monitor is registered for notifications with this monitorable .
