method

include?

v1_8_7_72 - Show latest stable - Class: REXML::AttlistDecl
include?(key)
public

Whether an attlist declaration includes the given attribute definition

 if attlist_decl.include? "xmlns:foobar"