Description
Test whether the requested stakeholder is listed and return its flag, or false when absent.
Consent, disclosure, duties and exceptions can be represented as records and flags. A consistency check describes those representations; it cannot independently establish valid consent, a justified exception or satisfaction of a real obligation.
Test whether the requested stakeholder is listed and return its flag, or false when absent.
When to use this tool
Use Stakeholder Option Access Flag when you need a literal ethical-policy record or eligibility diagnostic.
How to use the tool and how it works
- Enter stakeholders, accessible, requestedStakeholder. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read listed, access. Inspect listed, access before interpreting the associated values.
Require aligned unique stakeholder IDs/access flags. Test whether the requested stakeholder is listed and return its flag, or false when absent.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| stakeholders | Stakeholders | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| accessible | Accessible | Required. Array of boolean; maximum items 256. |
| requestedStakeholder | Requested Stakeholder | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| listed | Listed | Required. Boolean. |
| access | Access | Required. Boolean. |
{
"input": {
"stakeholders": [
"A",
"B"
],
"accessible": [
true,
false
],
"requestedStakeholder": "B"
},
"output": {
"listed": true,
"access": false
}
} Limitations and assumptions
- False access may be an actual recorded value or an absence placeholder; inspect listed. No accessibility assessment, legal right or fair participation is independently verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Review source evidence, applicable rules and affected people's choices through the appropriate process. Authenticate permissions and evaluate substantive reasons separately from token membership and boolean flags.
References
Similar or alternative tools
- Consent Lottery Eligibility Mask
Return each conjunction consented AND not withdrawn AND allowed and its zero-based indexes.
- Disclosure Scope Difference Size
Count distinct required tokens absent from disclosed and distinct disclosed tokens absent from required.