def validate_args(args: {}, requested_args: [], default_args: {})
      requested_args.each do |requested_arg|
        raise "Cell must have #{requested_arg} argument" if args[requested_arg] == nil
      end

      default_args.each do |key, value|
        args[key] = value if args[key] == nil
      end

      args
    end
def validate_args(args: {}, requested_args: [], default_args: {})
      requested_args.each do |requested_arg|
        raise "Cell must have #{requested_arg} argument" if args[requested_arg] == nil
      end

      default_args.each do |key, value|
        args[key] = value if args[key] == nil
      end

      args
    end
This function is used from cells to validates arguments on constructor.