public Object getMappedValue(Object src, Class<?> destType, String mapId) {
        Map<Integer, MapIdField> alreadyMappedFields = mappedFields.get(src);
        if (alreadyMappedFields != null) {
            for (MapIdField alreadyMappedField : alreadyMappedFields.values()) {
                Object mappedValue = alreadyMappedField.get(mapId);
                // 1664984 - bi-directionnal mapping with sets & subclasses
                if (mappedValue != null && destType.isAssignableFrom(mappedValue.getClass())) {
                    // Source value has already been mapped to the required destFieldType.
                    return mappedValue;
                }
            }
        }
        return null;
    }
Checks if there is a transaction active.
@return <code>true</code> if a transaction is active, <code>false</code> otherwise
core/src/main/java/com/github/dozermapper/core/MappedFieldsTracker.java