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