code: public static boolean isObjLitProperty(Node node) {
      return node.isStringKey()
          || node.isGetterDef()
          || node.isSetterDef()
          || node.isMemberFunctionDef()
          || node.isComputedProp();
    }
docs: Returns true if the node is a property of an object literal.