code: public static boolean valueOf(String value) {
          return (value != null) && (value.trim().equalsIgnoreCase("true") || value.trim().equals("1"));
      }
docs: Determines if the specified string contains 'true' or '1'
  @param value a String representation of a boolean to convert
  @return a boolean
  @since 1.0.0