def _log_welcome_message_if_allowed():
    """Logs a welcome message the first time this function is called on a
    machine with a new FiftyOne version installed, if allowed.
    """
    if os.environ.get("FIFTYONE_SERVER", None):
        return

    try:
        last_version = etas.load_json(focn.WELCOME_PATH)["version"]
    except:
        last_version = None

    if focn.VERSION == last_version:
        return

    logger.info(_WELCOME_MESSAGE.format(focn.VERSION))

    try:
        etas.write_json({"version": focn.VERSION}, focn.WELCOME_PATH)
    except:
        pass
Logs a welcome message the first time this function is called on a
    machine with a new FiftyOne version installed, if allowed.
    
fiftyone/core/session/session.py