groovy-style condition