Check if parameter is a dictionary in config.from_dict()