c0ce84c
util: string: Introduce virStringHasChars The helper returns true if a string contains any of the given chars. virStringHasControlChars can be reimplemented using that helper. Reviewed-by: Pavel Hrdina <phrdina@redhat.com>