method

include?

include?(key)
public

Whether an attlist declaration includes the given attribute definition

if attlist_decl.include? "xmlns:foobar"