adding zone.hasObjects method