Check for running in local mode