# libtmux._internal.log_context._string_mentions_show_environment

- **Module:** libtmux._internal.log_context
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/_internal/log_context.py#L773
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-_internal-log_context-_string_mentions_show_environment/

```
libtmux._internal.log_context._string_mentions_show_environment(
    raw: str, depth: int
) -> bool
```

Return True if carrier string *raw* resolves [`show-environment`](/en/tmux/latest/manual/show-environment/).

## Parameters

- `raw` (`str`)
- `depth` (`int`)
