boolean () { if (myDeprioritizations.get()>0) { return false; } for (Thread thread : myPrioritizedThreads) { Thread.State state = thread.getState(); if (state == Thread.State.WAITING || state == Thread.State.TIMED_WAITING || state == Thread.State.BLOCKED) { return true; } } return false; }