code: static boolean isGetOrSetKey(Node node) {
      switch (node.getToken()) {
        case GETTER_DEF:
        case SETTER_DEF:
          return true;
        case COMPUTED_PROP:
          return node.getBooleanProp(Node.COMPUTED_PROP_GETTER)
              || node.getBooleanProp(Node.COMPUTED_PROP_SETTER);
        default:
          break;
      }
      return false;
    }
docs: Determines whether a node represents an object literal get or set key
  (e.g. key1 in {get key1() {}, set key2(a){}).
  
  @param node A node