Detect whether or not a network interface or the network itself is up or down? Please let me know. Thanks.