code: public static Boolean integerToBoolean(Integer value) {
      return value.intValue() == 0 ? Boolean.FALSE : Boolean.TRUE;
    }
docs: Converts Integer to Boolean. If integer value is 0, then return FALSE, else
  return TRUE.
  
  @param value
  The Integer to be converted.
  @return The converted Boolean value.