public Optional<Shape> getNeighborShape() {
        return Optional.ofNullable(neighborShape);
    }
Gets the optional neighbor shape; the neighbor shape may be empty
when the neighbor shape id was not in the model.

@return Returns the optional neighbor shape.
smithy-model/src/main/java/software/amazon/smithy/model/neighbor/Relationship.java