def METHOD_NAME(items):
    bad_keys = []
    for k, v in items:
        if not isinstance(k, str):
            bad_keys.append(str(k))
    if len(bad_keys):
        raise ValueError('All MetaDict keys must be strings, '
                         'found the following non-compliant keys: ' +
                         ', '.join(bad_keys))