isUrl checks url allowing empty value (#182)