question: private boolean lockOrder ( Order order ) { lock . lock ( ) ; try { return activeOrders . add ( order . getId ( ) ) ; } finally { lock . unlock ( ) ; } }
target:  Attempts the lock the order. If the order is already active this returns false.