def validate_app(
    reload: bool = False, check_if_schema_up_to_date: bool = False
) -> None:
    """Validate the app instance based on the default config.

    Args:
        reload: Re-import the app module from disk
        check_if_schema_up_to_date: If True, check if the schema is up to date.
    """
    get_and_validate_app(
        reload=reload, check_if_schema_up_to_date=check_if_schema_up_to_date
    )
Validate the app instance based on the default config.

    Args:
        reload: Re-import the app module from disk
        check_if_schema_up_to_date: If True, check if the schema is up to date.
    
reflex/utils/prerequisites.py