code: func quorumMet(locks *[]string, isReadLock bool, quorum, quorumReads int) bool {
  
  	count := 0
  	for _, uid := range *locks {
  		if isLocked(uid) {
  			count++
  		}
  	}
  
  	var metQuorum bool
  	if isReadLock {
  		metQuorum = count >= quorumReads
  	} else {
  		metQuorum = count >= quorum
  	}
  
  	return metQuorum
  }
docs: // quorumMet determines whether we have acquired the required quorum of underlying locks or not