def _is_ipv4_supported() -> bool:
    """Determine if the system supports IPv4.

    Returns:
        True if the system supports IPv4, False otherwise.
    """
    try:
        httpx.head("http://1.1.1.1", timeout=3)
    except httpx.RequestError:
        return False
    else:
        return True
Determine if the system supports IPv4.

    Returns:
        True if the system supports IPv4, False otherwise.
    
reflex/utils/net.py