title: Postgres jsonb how to check some values is not empty
body: <p>I have a jsonb value</p>
  
  <pre><code>{"mts": "375", "tele2": "", "beeline": "56", "megafon": "377"}
  </code></pre>
  
  <p>how a can check for example that mts and megafon is not empty</p>
  
  <p>my query is</p>
  
  <pre><code>select * 
  from test 
  where settings-&gt;&gt;'megafon' &lt;&gt; '' 
     or settings-&gt;&gt;'mts' &lt;&gt; '' 
     or settings-&gt;&gt;'beeline' &lt;&gt; ''
  </code></pre>
  
  <p>But it is so longer query, how to write short condition?</p>