src/main/java/seedu/address/ui/UiManager.java
public boolean hasOverdueParcels (ObservableList<ReadOnlyParcel> uncompletedParcelList) {

        for (int i = 0; i < uncompletedParcelList.size(); i++) {
            if (uncompletedParcelList.get(i).getStatus().equals(Status.OVERDUE)) {
                return true;
            }
        }

        return false;
    }
/**
     * Checks for presence of overdue parcels in parcel list
     * by iterating through the uncompleted parcel list and checking the status of each parcel.
     * Returns true the moment one parcel has an overdue status.
     */
Checks for presence of overdue parcels in parcel list
by iterating through the uncompleted parcel list and checking the status of each parcel.
Returns true the moment one parcel has an overdue status.
Checks for presence of overdue parcels in parcel list by iterating through the uncompleted parcel list and checking the status of each parcel . Returns true the moment one parcel has an overdue status .
public boolean hasOverdueParcels (ObservableList<ReadOnlyParcel> uncompletedParcelList) {
        for (int i = 0; i < uncompletedParcelList.size(); i++) {
            if (uncompletedParcelList.get(i).getStatus().equals(Status.OVERDUE)) {
                return true;
            }
        }
        return false;
    }
public boolean hasOverdueParcels ( ObservableList < ReadOnlyParcel > uncompletedParcelList ) { for ( int i = 0 ; i < uncompletedParcelList . size ( ) ; i ++ ) { if ( uncompletedParcelList . get ( i ) . getStatus ( ) . equals ( Status . OVERDUE ) ) { return true ; } } return false ; }
Checks for presence of overdue parcels in parcel list
 by iterating through the uncompleted parcel list and checking the status of each parcel.
Checks for presence of overdue parcels in parcel list by iterating through the uncompleted parcel list and checking the status of each parcel .