dsdb:replmd: add compatible feature helper function