Added method to check and get value of configuration.