src/main/java/seedu/address/model/claim/Status.java
/**
     * Returns if a given string is valid
     */
Returns if a given string is valid
Returns if a given string is valid
public static boolean isValidStatus(String test) {
        for (StatusState state : StatusState.values()) {
            if (state.name().equals(test.toUpperCase())) {
                return true;
            }
        }
        return false;
    }
public static boolean isValidStatus ( String test ) { for ( StatusState state : StatusState . values ( ) ) { if ( state . name ( ) . equals ( test . toUpperCase ( ) ) ) { return true ; } } return false ; }
Returns if a given string is valid
Returns if a given string is valid