boolean (Collection<? extends ChangeList> lists) { if (lists.size() != 1) return false; ChangeList single = lists.iterator().next(); if (!(single instanceof LocalChangeList)) return false; return ((LocalChangeList)single).isBlank(); }