How to verify if a internet adress is still valid ?

Thanks