code: public static boolean hasTranslator(final int mainNumber, final String dptId)
  	{
  		try {
  			final MainType t = getMainType(getMainNumber(mainNumber, dptId));
  			if (t != null)
  				return t.getSubTypes().get(dptId) != null;
  		}
  		catch (final NumberFormatException e) {}
  		catch (final KNXException e) {}
  		return false;
  	}
docs: Does a lookup if the specified DPT is supported by a DPT translator.
  
  @param mainNumber data type main number, number &ge; 0; use 0 to infer translator type from <code>dptId</code>
  argument only
  @param dptId datapoint type ID to lookup this particular kind of value translation
  @return <code>true</code> iff translator was found, <code>false</code> otherwise