Move to ruby

    word.each_char do |character|
      return false unless symbols_list.include?(symbol)
    end
    true