isSyncOptions = value => {
  if (!value || (typeof value === 'object' && !('moduleTransforms' in value))) {
    if (value.parserForLanguage) {
      for (const [_language, { synchronous }] of entries(
        value.parserForLanguage,
      )) {
        if (!synchronous) {
          return false;
        }
      }
    }
    return true;
  }
  return false;
}
Returns `true` if `value` is a {@link SyncImportLocationOptions}.

The requirements here are:
- `moduleTransforms` _is not_ present in `value`
- `parserForLanguage` - if set, contains synchronous parsers only

@param {ImportLocationOptions|SyncImportLocationOptions} value
@returns {value is SyncImportLocationOptions}