def METHOD_NAME():
    # check Remote Settings connection
    client = RemoteSettings(
        settings.REMOTE_SETTINGS_WRITER_BUCKET,
        REMOTE_SETTINGS_COLLECTION_MLBF,
    )
    status = ''
    try:
        client.heartbeat()
    except Exception as e:
        status = f'Failed to contact Remote Settings server: {e}'
    if not status and not client.authenticated():
        status = 'Invalid credentials for Remote Settings server'
    if status:
        log.critical(status)
    return status