def empty_data(data):
    """Check to see if data is an empty list or None."""
    if data is None:
        return True
    elif type(data) == list:
        if len(data) == 0:
            return True
            
    return False