code: public static ShapeModel findShapeModelByC2jNameIfExists(IntermediateModel intermediateModel, String shapeC2jName) {
          for (ShapeModel shape : intermediateModel.getShapes().values()) {
              if (shape.getC2jName().equals(shapeC2jName)) {
                  return shape;
              }
          }
          return null;
      }
docs: Search for intermediate shape model by its c2j name.
  
  @return ShapeModel or null if the shape doesn't exist (if it's primitive or container type for example)