found = false
            lb['targetgroups'].each { |tg|
              if l['targetgroup'] == tg['name']
                found = true
                break