val objects: kotlin.collections.MutableList = getObjects() for (object in objects) { if (object.isEmpty) { break } }