function checkCozyMode(oRef) {
		if (!oRef || !oRef.getDomRef) {
			return false;
		}
		return !!oRef.getDomRef()?.closest(".sapUiSizeCompact,.sapUiSizeCondensed,.sapUiSizeCozy")?.classList.contains("sapUiSizeCozy");
	}
Returns list of items stored in <code>items</code> aggregation. If there are group items,
the items of the group are returned instead of their group item.

@returns {sap.ui.unified.MenuItem} List of all menu items
@private