# Drawstep engine · Conditions · `sourceIs` > Source is — A state check on the source. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/conditions#sourceIs ## Where it goes A condition: `{ "kind": "sourceIs", … }` — in an `if` effect, a trigger's `condition` (intervening if), a static's `condition` ("as long as"), an activated ability's `onlyIf`, a replacement's `unless`. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `state` | `"paired" \| "attached" \| "faceDown" \| "token" \| "blocked" \| "blocking" \| "enchanted" \| "equipped" \| "suspended" \| "solved" \| "transformed" \| "ringBearer"` | yes | The state the source is in | ## Minimal form ```json {"kind":"sourceIs","state":"paired"} ``` The engine reads that minimal form as: “~ is paired”. ## Stock examples - **Progenitor Mimic Witness** — “” ```json {"kind":"sourceIs","state":"token"} ``` - **Paired Study** — “As long as this creature is paired with another creature, both creatures have lifelink.” ```json {"kind":"sourceIs","state":"paired"} ``` - **Case of the Bears** — “To solve — You control two or more creatures. Solved — Creatures you control get +1/+1.” ```json {"kind":"sourceIs","state":"solved"} ``` ## Related - [Conditions](https://drawstep.xyz/wiki/mtg/conditions.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive