code: final boolean isValidForJms(Object obj) {
          if (obj instanceof String
              || obj instanceof Boolean
              || (obj instanceof Number
                  && !(obj instanceof BigInteger)
                  && !(obj instanceof BigDecimal)
              )) {
              return true;
          }
          else {
              return false;
          }
      }
docs: Return a boolean indicating whether the value is a valid type for a JMS property.
  <p>
  The method has package level visibility as it is used by JsSdoMessageImpl.
  
  @param obj The Object value of the potential JMS Property
  
  @return boolean Indicating whether the property is valid for JMS.