Consider StringUtils.IsTrueLike routine.