code: def Stat(self, device_filename):
          
          connection = self.protocol_handler.Open(self._handle, destination=b'sync:')
          mode, size, mtime = self.filesync_handler.Stat(
              connection, device_filename)
          connection.Close()
          return mode, size, mtime
docs: Get a file's stat() information.