global

def match?(sym)

For dialog_proc `key.match?(dialog.name)`
def match?(sym)
  method_symbol && method_symbol == sym
end