code: def lookup(path, parent=None, user=None, exists=None):
      """
      Retrieve a folder file from Plotly without needing a fid.
  
      :param (str) path: The '/'-delimited path specifying the file location.
      :param (int) parent: Parent id, an integer, which the path is relative to.
      :param (str) user: The username to target files for. Defaults to requestor.
      :param (bool) exists: If True, don't return the full file, just a flag.
      :returns: (requests.Response) Returns response directly from requests.
  
      """
      url = build_url(RESOURCE, route="lookup")
      params = make_params(
          path=path, parent=parent, user=user, exists=exists
      )
      return request("get", url, params=params)
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/api/v2/folders.py
imports: from __future__ import absolute_import
  from chart_studio.api.v2.utils import build_url, make_params, request
label_desc: Use image node_id 7 for calling a global function with example usage: lookup(path, parent, user, exists) and returns: request