- new method (HasAttribute)