Changed the network status to a boolean condition