def check_node_version() -> bool:
    """Check the version of Node.js.

    Returns:
        Whether the version of Node.js is valid.
    """
    current_version = get_node_version()
    return current_version is not None and current_version >= version.parse(
        constants.Node.MIN_VERSION
    )
Check the version of Node.js.

    Returns:
        Whether the version of Node.js is valid.
    
reflex/utils/prerequisites.py