Groovy Check If Url Is Valid