We can just test for the presence of these settings nicely here, no need to use a try / catch construct.