Check whether the network is a broadcast (anywhere/everywhere).
static bool isBroadcast(int network) { return network & ANY == ANY; }