public boolean isSlotOccupied ( WorkerSlot slot ) { for ( SchedulerAssignment assignment : this . assignments . values ( ) ) { if ( assignment . isSlotOccupied ( slot ) ) { return true ; } } return false ; }
Checks the specified slot is occupied .