# [Python 2](https://docs.python.org/2/), 31 bytes (@KevinCruijssen)
<pre><code class="lang-python2">f=lambda n:n&lt;2or n%3&gt;0&lt;f(n/3+1)</code></pre>

[Attempt This Online!](https://ato.pxeger.com/run?1=m728oLIkIz_PaMGCpaUlaboW-9NscxJzk1ISFfKs8myM8osU8lSN7Qxs0jTy9I21DTUhqm6qFBRl5pVoRGdqpWlkaqYBlWUqZOYpFCXmpadqGOoYGhhoxkLVwkwGAA)

Improved logic is inspired by @alephalpha's [PARI/GP answer](https://codegolf.stackexchange.com/a/246037/107561). Could save another two bytes by allowing any nonzero value for True.

# [Python](https://www.python.org), 33 bytes

<pre><code class="lang-python">f=lambda n:n&lt;2or n%3and f(n//3+1)</code></pre>

[Attempt This Online!](https://ato.pxeger.com/run?1=m72soLIkIz9vwYKlpSVpuhY3FdNscxJzk1ISFfKs8myM8osU8lSNE_NSFNI08vT1jbUNNaEKVQuKMvNKNLQ0MrXSNDI104AqMxUy8xSKEvPSUzUMdQwNDDQ1oYphpgMA)

Uses the base 3 characterisation at [OEIS](http://oeis.org/A003278). Returns 0 and True.