public boolean hasMember() {
        return member != null;
    }
Checks if the ID has a member set.

@return Returns true if the ID has a member.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/ShapeId.java