added strict param to isUrl