made is_alive usable

you can now use ppingy.is_alive to check if the host is alive