The get_use_underline() method returns whether the "use_underline" property is TRUE meaning that an underscore in the button label indicates a mnemonic.
See also: set_use_underline()