[PATCH v4 01/27] alist: add a helper to check if the list is full