HADOOP-6252. Provide a method to determine if a deprecated key is set in config file. Contributed by Jakob Homan.