@classmethod
def from_list(cls, database, key, data, clear=False):
    """
        Create and populate a List object from a data list.
        """
    lst = cls(database, key)
    if clear:
        lst.clear()
    lst.extend(data)
    return lst
