from typing import Dict


def varchar_func(x: str, type_info: Dict) -> bool:
    """Tests if the string is a string less than 65536 bytes"""
    row_len = len(str(x).encode("utf-8"))
    type_info["suffix"] = max(row_len, type_info["suffix"] or 1)
    return row_len < 65536