Check whether settings are set