code: func SequenceLockActive(sequenceLock *SequenceLock, blockHeight int32,
  	medianTimePast time.Time) bool {
  
  	// If either the seconds, or height relative-lock time has not yet
  	// reached, then the transaction is not yet mature according to its
  	// sequence locks.
  	if sequenceLock.Seconds >= medianTimePast.Unix() ||
  		sequenceLock.BlockHeight >= blockHeight {
  		return false
  	}
  
  	return true
  }
docs: // SequenceLockActive determines if a transaction's sequence locks have been
  // met, meaning that all the inputs of a given transaction have reached a
  // height or time sufficient for their relative lock-time maturity.