method

has_name?

ruby latest stable - Class: REXML::Namespace
has_name?( other, ns=nil )
public

Compares names optionally WITH namespaces