task_id_in
Return true if task id is member of set ids'.
def task_id_in(
ids: set,
body: dict,
message: string
) - > boolean
Return true if task id is member of set ids'.
Parameters
| Name | Type | Description |
|---|---|---|
| ids | set | A collection of valid task identifiers to check against |
| body | dict | The request or data dictionary containing the 'id' key to be validated |
| message | string | An auxiliary message string, currently unused by the function logic |
Returns
| Type | Description |
|---|---|
boolean | True if the 'id' key in the body dictionary exists within the provided set of IDs, False otherwise |