src/main/java/seedu/address/model/applicant/ApplicantStatus.java
public static boolean isValidStatus(String status) {
        try {
            int test = Integer.parseInt(status);
            return test >= 0 && test <= 3;
        } catch (NumberFormatException e) {
            return false;
        }
    }
/**
     * Returns true if a given string is a valid state for application status
     */
Returns true if a given string is a valid state for application status
Returns true if a given string is a valid state for application status
public static boolean isValidStatus(String status) {
        try {
            int test = Integer.parseInt(status);
            return test >= 0 && test <= 3;
        } catch (NumberFormatException e) {
            return false;
        }
    }
public static boolean isValidStatus ( String status ) { try { int test = Integer . parseInt ( status ) ; return test >= 0 && test <= 3 ; } catch ( NumberFormatException e ) { return false ; } }
Returns true if a given string is a valid state for application status
Returns true if a given string is a valid state for application status