validator
pub fn validate_url<'a, T>(val: T) -> bool where T: Into<Cow<'a, str>>,
Validates whether the string given is a url