Check for config key availability before using it.