Check if string is a URL?

Intresting, I used to use VF’s method IndexOf
but ParkerAndKent method is more advanced
thanks