function isOperator(obj) {
  if (typeof obj !== 'object' || obj === null) {
    return false;
  }

  const k = Object.keys(obj);

  return k.length === 1 && k[0][0] === '$';
}
Checks whether an object is likely a pipeline operator

@param {Object} obj object to check
@return {Boolean}
@api private