[PATCH v2 1/4] Network::network_equal: fix check if array is fully defined