isExpanded

open fun isExpanded(): Boolean

Call this from isExpanded.