config: APIs added to check if key/group exists in config