code: func scopePresent(scopeStr string, scopeToSearch string) bool {
  	scopeSlice := strings.Split(scopeStr, ",")
  	for _, scope := range scopeSlice {
  		if scope == scopeToSearch {
  			return true
  		}
  	}
  
  	return false
  }
docs: // scopePresent returns true if scope is in the scope string
  // The scope string is expected to be a comma seperated list of scopes