Check value of --level.