IN
From my experience, the main problem with flag parameters is not that you have two I dependant logic in a function. The problem that such parameters "slightly" change behavior. For instance, a flag that tell to send an email with results. Or flag that require to skip (or run) validation. And so on.