Google

def has_name?( other ) if other.include? ":" return fully_expanded_name == other else return name == other end end