code: public void deactivate() {
          active.set(false);
          if (!(conceptQueue.isEmpty() && roleQueue.isEmpty() && featureQueue.isEmpty())) {
              if (activate()) {
                  parentTodo.add(this);
              }
          }
      }
docs: Deactivates the context. Returns true if the context was active and was deactivated by this method call or false
  otherwise.