src/main/java/seedu/insurancepal/model/appointment/Appointment.java
/**
     * Returns true if the date and time contained in this appointment is happening in the future.
     */
Returns true if the date and time contained in this appointment is happening in the future.
Returns true if the date and time contained in this appointment is happening in the future .
public boolean isUpcoming() {
        if (appointmentTime == null) {
            return false;
        }
        return this.appointmentTime.compareTo(LocalDateTime.now()) > 0;
    }
public boolean isUpcoming ( ) { if ( appointmentTime == null ) { return false ; } return this . appointmentTime . compareTo ( LocalDateTime . now ( ) ) > 0 ; }
Returns true if the date and time contained in this appointment is happening in the future.
Returns true if the date and time contained in this appointment is happening in the future .