code: public static boolean canConvert(Object fromObj, Class<?> to) {
          int weight = getConversionWeight(fromObj, to);
  
          return (weight < CONVERSION_NONE);
      }
docs: Determine whether we can/should convert between the given type and the
  desired one.  This should be superceded by a conversion-cost calculation
  function, but for now I'll hide behind precedent.