sent in this Flags object.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>flag</code> - the flag to test</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true of the given flag is present, otherwise false.</dd>
</dl>
</li>
</ul>
<a name="contains-jakarta.mail.Flags-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public&nbsp;boolean&nbsp;contains(<a href="../../jakarta/mail/Flags.html" title="class in jakarta.mail">Flags</a>&nbsp;f