[#BloombergLP-ball-AttributeContext_RuleEvaluationCache-isDataAvailable]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AttributeContext_RuleEvaluationCache.adoc[AttributeContext&lowbar;RuleEvaluationCache]::isDataAvailable
:relfileprefix: ../../../
:mrdocs:

Return whether this cache has up&hyphen;to&hyphen;date evaluations for the given rules&period;

== Synopsis

Declared in `&lt;ball&lowbar;attributecontext&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isDataAvailable(
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] sequenceNumber,
    xref:BloombergLP/ball/RuleSet/MaskType.adoc[RuleSet::MaskType] relevantRulesMask) const;
----

== Description

Return `true` if this cache contains up&hyphen;to&hyphen;date cached rule evaluations having the specified `sequenceNumber` for the set of rules indicated by the specified `relevantRulesMask` bit mask, and `false` otherwise&period;

== Return Value

`true` if the cache is up&hyphen;to&hyphen;date for the indicated rules, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sequenceNumber*
| rule&hyphen;set sequence number to match
| *relevantRulesMask*
| bit mask of rules whose cached evaluations are required
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
