Time format question

Hi,

I search string to define if hh:mmConfuseds xx / h:mmConfuseds xx is selected or not in Kodi settings to show or not a texture.

I have find this in settings.xml, but no idea how to use this with <visible></visible>

Code:
<setting id="locale.timeformat" type="string" label="14107" help="36167">
          <level>2</level>
          <default>regional</default>
          <constraints>
            <options>timeformats</options>
          </constraints>
          <dependencies>
            <dependency type="update" setting="locale.country" />
            <dependency type="update" setting="locale.use24hourclock" />
          </dependencies>
          <control type="list" format="string" />
        </setting>

And return this in guisettings.xml :

Code:
<locale>
        <timeformat>h:mm:ss xx</timeformat>
    </locale>

I think it’s Skin.HasSetting(…) but I doesn’t find timeformats options.