BTW -  we have an API to check https://github.com/zikula/core/blob/1.3/src/lib/util/DataUtil.php#L607