function isTableJSFBTTreeLeaf(value) {
  return (
    value &&
    typeof value === 'object' &&
    typeof value.desc === 'string' &&
    typeof value.text === 'string' &&
    (typeof value.tokenAliases === 'object' || value.tokenAliases == null)
  );
}
Algorithm copied from coerceToTableJSFBTTreeLeaf() in babel-plugin-fbt/src/JSFbtUtil.js
@return `true` if given object matches the TableJSFBTTreeLeaf shape