Network state check