true
when an attribute with a given name is
specified on this element or has a default value, false
otherwise.true
when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false
otherwise.