def contains_whitespace(text):
    return any(x.isspace() for x in text)
Returns True if there are any whitespace characters in the string
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/contains_whitespace