ExpandCheckBox was introduced in 88b6c63, but the seemingly replaced by SourceTreeSubItemCheckBox during development. This means that it became completely unused.
88b6c63
New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or greater, old functionality remains unchanged.