In magento1.x if we want to display menu depends on system configuration of our module then we use following code for ex.
<menu>
<test translate="title">
<depends>
<config>section/group/field</config>
</depends>
<title>Test Menu</title>
</test>
</menu>
How can we achieve this in magento 2.x