title: Jenkinsfile (Groovy) URI validator
body: <p>I'm fairly new to Groovy and Jenkins, so hopefully this question is coherent.</p>
  
  <p>I have a Jenkinsfile written in Groovy and would like to validate one of the params as a valid URI. Without writing my own regex check, is there a library I could easily invoke during Jenkins startup?</p>