is_available() is only used from generic code for non-hardware wallets. Having a local function of the same name is confusing.
is_available() is only used from generic code for non-hardware wallets. Having a local function of the same name is confusing.