code: func (ms *StatusImpl) IsPending() bool {
  	ms.mutex.Lock()
  	defer ms.mutex.Unlock()
  
  	if ms.systemChannel {
  		return ms.state == orderer.ConsensusType_MIG_STATE_START
  	}
  
  	return ms.state == orderer.ConsensusType_MIG_STATE_START || ms.state == orderer.ConsensusType_MIG_STATE_CONTEXT
  }
docs: // IsPending returns true if migration is pending.