Detect the "all string fields empty" sentinel emitted by
get_adopted_texts({docId}) for documents that are indexed but whose
content has not yet been populated by the EP Open Data Portal. The server
returns a JSON-schema-valid response in which every string field is the
empty string, which bypasses standard error handling — see upstream issue
Hack23/European-Parliament-MCP-Server#369.
Only treats a payload as a sentinel when it has at least three string
fields (to avoid false positives on intentionally sparse payloads) AND
all string fields are the empty string.
Parameters
payload: Record<string,unknown>|undefined
Parsed JSON payload object (or undefined)
Returns boolean
true when the payload matches the CONTENT_PENDING sentinel
Detect the "all string fields empty" sentinel emitted by
get_adopted_texts({docId})for documents that are indexed but whose content has not yet been populated by the EP Open Data Portal. The server returns a JSON-schema-valid response in which every string field is the empty string, which bypasses standard error handling — see upstream issue Hack23/European-Parliament-MCP-Server#369.Only treats a payload as a sentinel when it has at least three string fields (to avoid false positives on intentionally sparse payloads) AND all string fields are the empty string.