## Lesson — Using a boolean flag to track lazy initialization causes

**Tags:** architecture, curated
**Pattern:** \b(?:is)?[iI]nitialized\s*(?::\s*boolean|=\s*(?:true|false))\b
**Engine:** regex
**Scope:** **/*.ts, **/*.tsx, **/*.js, **/*.jsx
**Severity:** warning

Using a boolean flag to track lazy initialization causes.
