class ActiveModel::LazyAttributeSet

def key?(name)

Experimental RBS support (using type sampling data from the type_fusion project).

def key?: (String name) -> bool

This signature was generated using 13 samples from 1 application.

def key?(name)
  (values.key?(name) || types.key?(name) || @attributes.key?(name)) && self[name].initialized?
end