The trivial method 'CTX_hasSubentities' which I mentioned in my previous commit is now implemented correctly. FUCK YOU Xcode!!!