[#BloombergLP-ball-Context-isValid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Context.adoc[Context]::isValid :relfileprefix: ../../../ :mrdocs: Return whether the given attributes represent a valid context. == Synopsis Declared in `<ball_context.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValid( xref:BloombergLP/ball/Transmission/Cause.adoc[Transmission::Cause] transmissionCause, int recordIndex, int sequenceLength); ---- == Description Return `true` if the specified `transmissionCause`, `recordIndex`, and `sequenceLength` represent a valid context, and `false` otherwise. (See the CONSTRAINTS section of the component‐level documentation above for a complete specification of the constraints on attribute values.) == Return Value `true` if the attributes represent a valid context, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *transmissionCause* | cause of transmission to validate | *recordIndex* | index within the sequence to validate | *sequenceLength* | length of the sequence to validate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#