Yes, the test is redundant, as well as the config flag. Simply dropping them