code: @Override
      public boolean isLocked()
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "isLocked");
  
          final boolean isLocked = (state == SIMPState.LOCKED);
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "isLocked", Boolean.valueOf(isLocked));
  
          return isLocked;
      }
docs: Method isLocked.
  
  @return boolean
  <p>Returns true if the ConsumerDispatchers state is "LOCKED"</p>