class CompetitionUtils {

    public static boolean textToBoolean(String value) {
        return (value != null && ("yes".equalsIgnoreCase(value) || "1".equalsIgnoreCase(value))) ? true : false;
    }

    private  CompetitionUtils();

}