def maybe_list(candidate):
    """
    Wrap candidate into a list. If candidate is None, return an empty
    list. If it's an iterable, return that iterable
    """
    if candidate is None:
        return []
    if hasattr(candidate, '__iter__'):
        return candidate
    return [candidate]
