code: private static boolean readDPType(XMLReader r) throws KNXMLException
  	{
  		final String a = r.getCurrent().getAttribute(ATTR_STATEBASED);
  		if ("false".equalsIgnoreCase(a))
  			return false;
  		if ("true".equalsIgnoreCase(a))
  			return true;
  		throw new KNXMLException("malformed attribute " + ATTR_STATEBASED, a, r
  			.getLineNumber());
  	}
docs: /* returns true for state based DP, false for command based DP