Java tutorial
//package com.java2s; public class Main { public static Boolean isPositive(String value) { return (value.equals("true") || value.equals("TRUE") || value.equals("yes") || value.equals("YES") || value.equals("enabled") || value.equals("ENABLED")); } }