code: private synchronized final boolean isStateLocked()
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          {
              SibTr.entry(this, tc, "isStateLocked");
              SibTr.exit(this, tc, "isStateLocked", _itemLinkState);
          }
          if (_itemLinkState == ItemLinkState.STATE_LOCKED)
          {
              return true;
          }
          else
          {
              return false;
          }
      }
docs: Simple function to check if the item link state is
  in ItemLinkState.STATE_LOCKED.Seperate function is
  created to acquire the lock
  
  @return