--- title: "check(a, list b)" slug: "basic-check-value-list" updated: 2026-08-11T06:56:17Z published: 2026-08-11T06:56:17Z canonical: "docs.lobstersoftware.com/basic-check-value-list" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # check(a, list b) Checks for the existence of value **a** in a comma-separated token list **b** of values. The return value is either "true" (if the value is included) or "false". ## Parameters | Parameter | Description | | --- | --- | | a | Value that is being searched for. | | b | Comma-separated list of values. | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | Munich | Munich,Rome,Berlin | true | | Dresden | Munich,Rome,Berlin | false |