def METHOD_NAME(values, label):
    for name, value in values.items():
        if not isinstance(value, str):
            raise ValueError(
                "{} values must be strings, `{}` given for {} `{}`".format(label, type(value), label.lower(),
                                                                           name))