if 'contexts' in config.keys() and config["contexts"] is not None:
context_config = config["contexts"]
if 'yardstick' in context_config.keys() and \
if 'contexts' in config.keys() and config["contexts"] is not None:
context_config = config["contexts"]
if 'yardstick' in context_config.keys() and \