public boolean hasPendingRequests(){
  return !interruptRequestQueue.isEmpty();
}

public boolean hasPendingRequests ( ) { return ! interruptRequestQueue . isEmpty ( ) ; }
determine if there is at least one request pending
