Check if device in network