class ResponseStatus {

    public boolean isRejected() {
        boolean grcOneRejectedOrNull = this.geosupportReturnCode != null ? this.geosupportReturnCode.isRejected()
                : true;
        boolean grcTwoRejectedOrNull = this.geosupportReturnCode2 != null ? this.geosupportReturnCode2.isRejected()
                : true;
        return grcOneRejectedOrNull && grcTwoRejectedOrNull;
    }

}