public boolean isExpandable(T item) {
        return item != null && item instanceof IExpandable;
    }
Collapse an expandable item that has been expanded..

@param position the position of the item, which includes the header layout count.
@return the number of subItems collapsed.
common/src/main/java/com/sxjs/common/base/baseadapter/BaseQuickAdapter.java