private void updateExpandable(View target, int position) {

		final LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)target.getLayoutParams();
		if(openItems.get(position)) {
			target.setVisibility(View.VISIBLE);
			params.bottomMargin = 0;
		} else {
			target.setVisibility(View.GONE);
			params.bottomMargin = 0-viewHeights.get(position);
		}
	}
Check's if any position is currently Expanded
To collapse the open item @see collapseLastOpen

@return boolean True if there is currently an item expanded, otherwise false
library/src/main/java/com/tjerkw/slideexpandable/library/AbstractSlideExpandableListAdapter.java