function isUrlLike(url) {
  if (!isString(url)) return false
  const match = url.match(URL_REGEX)
  return match && (match[2].indexOf('.') > -1 || isLocalHost(match[2]))
}
Check if string is URL like
@param {string} url 
@returns {boolean}