// HasBody returns true if the Event contains an ast.Body.
552161
func (evt *Event) HasBody() bool {
	_, ok := evt.Node.(ast.Body)
	return ok
}
742417
func (o *AddOneParams) WithBody(body *models.Item) *AddOneParams {
	o.SetBody(body)
	return o
}
117997
func (db *DB) Has(key []byte) (yes bool, err error) {
	yes, err = db.ldb.Has(key, nil)
	if err != nil {
		metrics.GetOrRegisterCounter("DB.hasFail", nil).Inc(1)
		return false, err
	}
	metrics.GetOrRegisterCounter("DB.has", nil).Inc(1)
	return yes, nil
}
202091
func (s *DB) HasTable(value interface{}) bool {
	var (
		scope     = s.NewScope(value)
		tableName string
	)

	if name, ok := value.(string); ok {
		tableName = name
	} else {
		tableName = scope.TableName()
	}

	has := scope.Dialect().HasTable(tableName)
	s.AddError(scope.db.Error)
	return has
}
1035657
func (m *Table) HasField(name string) bool {
	if _, ok := m.FieldMap[name]; ok {
		return true
	}
	return false
}
207477
func (s *TestInvokeAuthorizerInput) SetBody(v string) *TestInvokeAuthorizerInput {
	s.Body = &v
	return s
}
382108
func (self *FSock) SendEventWithBody(eventSubclass string, eventParams map[string]string, body string) (string, error) {
	// Event-Name is overrided to CUSTOM by FreeSWITCH,
	// so we use Event-Subclass instead
	eventParams["Event-Subclass"] = eventSubclass
	return self.SendCmdWithArgs(fmt.Sprintf("sendevent %s\n", eventSubclass), eventParams, body)
}
915944
func (s Int32) Has(item int32) bool {
	_, contained := s[item]
	return contained
}
951141
func (o *UpdateJSONWebKeyParams) WithBody(body *models.SwaggerJSONWebKey) *UpdateJSONWebKeyParams {
	o.SetBody(body)
	return o
}
825447
func (a Audiences) Has(taud string) bool {
	for _, aud := range a {
		if aud == taud {
			return true
		}
	}
	return false
}
1304812
func (snap *Snapshot) Has(key []byte, ro *opt.ReadOptions) (ret bool, err error) {
	err = snap.db.ok()
	if err != nil {
		return
	}
	snap.mu.RLock()
	defer snap.mu.RUnlock()
	if snap.released {
		err = ErrSnapshotReleased
		return
	}
	return snap.db.has(nil, nil, key, snap.elem.seq, ro)
}
395841
func (s *ImportApiKeysInput) SetBody(v []byte) *ImportApiKeysInput {
	s.Body = v
	return s
}
203648
func (w *Webhook) HasReleaseEvent() bool {
	return w.SendEverything ||
		(w.ChooseEvents && w.HookEvents.Release)
}
233805
func (r *Response) HasCheck(name string) bool {
	found := false
	for _, check := range r.Checks {
		if check.Name == name {
			found = true
			break
		}
	}
	return found
}
1210119
func HasBody(db ethdb.Reader, hash common.Hash, number uint64) bool {
	if has, err := db.Has(blockBodyKey(number, hash)); !has || err != nil {
		return false
	}
	return true
}
1210935
func (s Int) Has(item int) bool {
	_, contained := s[item]
	return contained
}
148434
func HasAttribute(o *js.Object, key string) bool {
	return o.Call("hasAttribute", key).Bool()
}