code: def file_exist(self, path):
      result, response_content = self.__send_request(
          "GET", yandex_disk.__HTTP_RESOURCES, {"path": path}
      )
      if result != 200:
          if result == 401:
              raise PermissionError(
                  "ERROR: Impossible to obtain information about file '%s' "
                  "(unauthorized request)." % path
              )
  
          return False
  
      json_content = json.loads(response_content)
      if json_content["type"] != file_type.FILE:
          return False
  
      return True
  
file_path: pyclustering/ci/cloud/cloud/yandex_disk.py
imports: import http.client
  import json
  import os.path
  import urllib.request
  from urllib.parse import urlparse
label_desc: Use image node_id 8 for calling the yandex_disk obj's underlying member method code with example usage: obj.file_exist(path) and returns: True, False, False