public boolean isSafeToExecuteSUTCode(){
  Thread current=Thread.currentThread();
  if (!privilegedThreads.contains(current)) {
    return true;
  }
 else {
    return privilegedThreadToIgnore == current;
  }
}

public boolean isSafeToExecuteSUTCode ( ) { Thread current = Thread . currentThread ( ) ; if ( ! privilegedThreads . contains ( current ) ) { return true ; } else { return privilegedThreadToIgnore == current ; } }
check if running sut code on current thread would be done inside the sandbox
