- Optimized shape_is_getset branching