public static Boolean asBoolean(String flag) {
		return flag == null ? null : flag.equals(YES_AS_STRING);
	}
public static Boolean asBoolean ( String flag ) { return flag == null ? null : flag . equals ( YES_AS_STRING ) ; }
Converts the given string into a Boolean flag of either true, false or
null.