return municipality != null ? countSupply(municipality) > 0 : false;With this:
return municipality != null && countSupply(municipality) > 0;
Trivial, I know, but most impressive of the IDE to catch that.
In the mean time, I'll patiently wait for the next version of the IDE that can actually do my programming for me.
Until that day, I'd better get back to work.