Check whether the network is a group.
static bool isGroup(int network) { return network & GROUP == GROUP; }