Maybe `if (!window.bitcoin && window.hive)`?