Could call utils.isUrl to check.