original_docstring: 
          Checks if file exists in remote path or not.
  
          Args:
              - remote_path (str): Remote file path to check if file exists.
              - conn (SFTPClient): The connection object for the SFTP server.
  
          
docstring: Checks if file exists in remote path or not.
docstring_tokens: Checks if file exists in remote path or not .
code: def file_exists(self, remote_path: str, conn: SFTPClient):
          """
          Checks if file exists in remote path or not.
  
          Args:
              - remote_path (str): Remote file path to check if file exists.
              - conn (SFTPClient): The connection object for the SFTP server.
  
          """
          try:
              self.logger.info(f"remote path : {remote_path}")
              conn.stat(remote_path)
          except SFTPError as e:
              self.logger.debug(
                  f"The specified file on this '{remote_path}' remote_path does not exist."
              )
              raise e
code_tokens: def file_exists ( self , remote_path : str , conn : SFTPClient ) : try : self . logger . info ( f"remote path : {remote_path}" ) conn . stat ( remote_path ) except SFTPError as e : self . logger . debug ( f"The specified file on this '{remote_path}' remote_path does not exist." ) raise e
short_docstring: Checks if file exists in remote path or not.
short_docstring_tokens: Checks if file exists in remote path or not .
comment: """
          Checks if file exists in remote path or not.
  
          Args:
              - remote_path (str): Remote file path to check if file exists.
              - conn (SFTPClient): The connection object for the SFTP server.
  
          """