code: def _is_dataset(uri, config_path):
      
      uri = dtoolcore.utils.sanitise_uri(uri)
      storage_broker = _get_storage_broker(uri, config_path)
      return storage_broker.has_admin_metadata()
docs: Helper function for determining if a URI is a dataset.