/** * Returns <tt>true</tt> if offline contacts are shown or if the given <tt>MetaContactGroup</tt> * contains online contacts. * * @param metaGroup the <tt>MetaContactGroup</tt> to check * @return <tt>true</tt> if the given <tt>MetaContactGroup</tt> is matching this filter */ private boolean isMatching(MetaContactGroup metaGroup) { return isShowOffline || (metaGroup.countOnlineChildContacts() > 0) || MetaContactListSource.isNewGroup(metaGroup); }