class IRB::Context

def symbol_alias?(command)

Return true if it's aliased from the argument and it's not an identifier.
def symbol_alias?(command)
  return nil if command.match?(/\A\w+\z/)
  command_aliases.key?(command.to_sym)
end