New function UniformResourceLocator::schemeExists()