import net
net.ping(ip_address, count=1)["received"] == 1