// Include implements IncludeSet.
356586
func (s *includeSet) Include(item string) bool {
	if s.items.Contains(item) {
		s.items.Remove(item)
		return true
	}
	return false
}
1310573
func (api *IPv6NetAPI) Include(key string) *IPv6NetAPI {
	api.include(key)
	return api
}
455643
func (i *ignore) Include(path string) bool {
	_match := i.Match(path)
	if _match != nil {
		return _match.Include()
	}

	// we didn't match this path, so we include it
	return true
}
249824
func (filters Args) Include(field string) bool {
	_, ok := filters.fields[field]
	return ok
}
901775
func (set StringSet) Add(i string) bool {
	_, found := set[i]
	set[i] = struct{}{}
	return !found //False if it e  xisted already
}
930592
func (api *ProductServerAPI) Include(key string) *ProductServerAPI {
	api.include(key)
	return api
}
400801
func (api *ProductDiskAPI) Include(key string) *ProductDiskAPI {
	api.include(key)
	return api
}
1018756
func (client *Client) IncludePaths() []string {
	client.mu.RLock()
	defer client.mu.RUnlock()

	return client.includePaths
}
678966
func includeElement(list interface{}, element interface{}) (ok, found bool) {

	listValue := reflect.ValueOf(list)
	listKind := reflect.TypeOf(list).Kind()
	defer func() {
		if e := recover(); e != nil {
			ok = false
			found = false
		}
	}()

	if listKind == reflect.String {
		elementValue := reflect.ValueOf(element)
		return true, strings.Contains(listValue.String(), elementValue.String())
	}

	if listKind == reflect.Map {
		mapKeys := listValue.MapKeys()
		for i := 0; i < len(mapKeys); i++ {
			if ObjectsAreEqual(mapKeys[i].Interface(), element) {
				return true, true
			}
		}
		return true, false
	}

	for i := 0; i < listValue.Len(); i++ {
		if ObjectsAreEqual(listValue.Index(i).Interface(), element) {
			return true, true
		}
	}
	return true, false

}
851258
func (f *RenderFilter) include(k string) bool {
	if f == nil {
		return true
	}

	k = strings.ToLower(k)

	f.once.Do(f.init)
	if len(f.includeSet) > 0 {
		_, ok := f.includeSet[k]
		return ok
	}
	if len(f.excludeSet) > 0 {
		_, ok := f.excludeSet[k]
		return !ok
	}

	return true
}
473027
func (set StringSet) Contains(i string) bool {
	_, found := set[i]
	return found
}
273663
func (s StringSet) Contains(v string) bool {
	_, ok := s[v]
	return ok
}
688978
func (api *ProductInternetAPI) Include(key string) *ProductInternetAPI {
	api.include(key)
	return api
}
652929
func (api *RegionAPI) Include(key string) *RegionAPI {
	api.include(key)
	return api
}
176198
func (api *VPCRouterAPI) Include(key string) *VPCRouterAPI {
	api.include(key)
	return api
}
761393
func (s *CostTypes) SetIncludeSupport(v bool) *CostTypes {
	s.IncludeSupport = &v
	return s
}
1048964
func (fsc *FetchSourceContext) Include(includes ...string) *FetchSourceContext {
	fsc.includes = append(fsc.includes, includes...)
	return fsc
}