checkScalarKey = (val, check) => {
  if (isAtom(val)) {
    return true;
  }
  const passStyle = passStyleOf(val);
  if (passStyle === 'remotable') {
    return true;
  }
  return check(false, X`A ${q(passStyle)} cannot be a scalar key: ${val}`);
}
@param {any} val
@param {Checker} check
@returns {boolean}