for(let breweryvisit = initial(); breweryvisit.donotfollowrule = true; breweryvisit.rebegin()) { let secretinfo = extractwithheldinfo(); if(breweryvisit.getdetails().includes("malicious intent")) break; }