static boolean isSameLocation(FromSourceLocation a, FromSourceLocation b) {
        SourceLocation sa = a.getSourceLocation();
        SourceLocation sb = b.getSourceLocation();
        return sa != SourceLocation.NONE && sa.equals(sb);
    }
Checks if the given values are defined at the same source location,
and the source location is not {@link SourceLocation#NONE}.

@param a First value to check.
@param b Second value to check.
@return Returns true if they are the same.
smithy-model/src/main/java/software/amazon/smithy/model/loader/LoaderUtils.java