code: public static Boolean toBooleanObject(final Integer value) {
          if (value == null) {
              return null;
          }
          return value.intValue() == 0 ? Boolean.FALSE : Boolean.TRUE;
      }
docs: <p>Converts an Integer to a Boolean using the convention that {@code zero}
  is {@code false}.</p>
  
  <p>{@code null} will be converted to {@code null}.</p>
  
  <p>NOTE: This returns null and will throw a NullPointerException if unboxed to a boolean. </p>
  
  <pre>
  BooleanUtils.toBoolean(Integer.valueOf(0))    = Boolean.FALSE
  BooleanUtils.toBoolean(Integer.valueOf(1))    = Boolean.TRUE
  BooleanUtils.toBoolean(Integer.valueOf(null)) = null
  </pre>
  
  @param value  the Integer to convert
  @return Boolean.TRUE if non-zero, Boolean.FALSE if zero,
  {@code null} if {@code null} input