SERVER-139248Needs Scheduling

Move isDisagg() to a general-purpose test utility

{{isDisagg()}} currently lives in [{{oplog_truncation_util.js}}|https://github.com/10gen/mongo/blob/1fd970f73a712d3a8bb25506996e5872ec2c0097/jstests/libs/oplog_truncation_util.js#L21-L27], although detecting disaggregated storage mode is useful beyond oplog truncation tests. This makes the helper difficult to discover and requires unrelated tests to import an oplog-specific utility. As part of this ticket, we should move the helper to an appropriately scoped shared utility and update existing

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.