method

has_name?

has_name?( other, ns=nil )
public

Compares names optionally WITH namespaces