const isFileMove = (a /*: RemoteChange */) /*: boolean %checks */ =>
  a.type === 'FileMove' || (isDescendant(a) && a.doc.docType === metadata.FILE)