def _listify(element):
    """ Ensures elements are contained in a list """
    
    # either it is a list already, or it is None
    if type(element)==type([]) or element==None:
        return element
    
    else:
        return [element]