private static boolean parseBoolean(String s) {
    for (int i = 0; i < FALSE_BOOLEANS.length; i++) {
      if (FALSE_BOOLEANS[i].accept(s)) {
        return false;
      }
    }
    return true;
  }
Parses a boolean from string

Accepts "false","off","no","0" and "" as FALSE
All other values are interpreted as true.
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/PrimitiveObjectInspectorUtils.java