How to check realm for android data existence?
<p>how do I check whether certain value is exist or not in my realm database based on this code below?</p>

<pre><code>realm.where(User.class).equalTo("cardId", cardId).findFirst()
</code></pre>

<p>Thanks in advance.</p>