class_docstr: Represents the source of a dataset stored at a web location and referred to
  by an HTTP or HTTPS URL.
class_docstr_tok: ["Represents","the","source","of","a","dataset","stored","at","a","web","location","and","referred","to","by","an","HTTP","or","HTTPS","URL","."]
docstr: Args:
      raw_source: The raw source, e.g. a string like "http://mysite/mydata.tar.gz".
  
  Returns:
      True if this DatsetSource can resolve the raw source, False otherwise.
docstr_tok: ["Args",":","raw_source",":","The","raw","source",",","e.g",".","a","string","like","``","http",":","\/\/mysite\/mydata.tar.gz","''",".","Returns",":","True","if","this","DatsetSource","can","resolve","the","raw","source",",","False","otherwise","."]
code: def _can_resolve(raw_source: Any) -> bool:
      """
      Args:
          raw_source: The raw source, e.g. a string like "http://mysite/mydata.tar.gz".
  
      Returns:
          True if this DatsetSource can resolve the raw source, False otherwise.
      """
      if not isinstance(raw_source, str):
          return False
  
      try:
          parsed_source = urlparse(str(raw_source))
          return parsed_source.scheme in ["http", "https"]
      except Exception:
          return False
  
imports: import os
  import re
  from typing import Any, Dict
  from urllib.parse import urlparse
  from mlflow.data.dataset_source import DatasetSource
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.utils.file_utils import create_tmp_dir
  from mlflow.utils.rest_utils import augmented_raise_for_status, cloud_storage_http_request
label_desc: Use image node_id 6 for calling the HTTPDatasetSource obj's underlying member method code with example usage: obj._can_resolve(raw_source) and returns: False, unknown, False