Detecting if a URL scheme can be handled

from blog Modern Web Development with Chrome, | ↗ original
Can we detect if a url with a custom URL scheme can be handled? Why yes. Yes we can.