wifi state checks