public boolean isOrphan(Sha256Hash block){
  lock.lock();
  try {
    return orphanBlocks.containsKey(block);
  }
  finally {
    lock.unlock();
  }
}

public boolean isOrphan ( Sha256Hash block ) { lock . lock ( ) ; try { return orphanBlocks . containsKey ( block ) ; } finally { lock . unlock ( ) ; } }
returns true if the given block is currently in the orphan blocks list .
