def collapse_whitespace(message):
    return u' '.join(map(lambda s: s.strip(),
                         filter(None, message.strip().splitlines())))
Return a boolean valud indicating whether the given key
dataset/ETHPy150Open mozilla/puente/puente/utils.py/collapse_whitespace--crossover with--dataset/ETHPy150Open coleifer/walrus/walrus/containers.py/Hash.__contains__