Member predicate Variables::Variable::isCaptured

Holds if this variable is captured in the closure of a nested function.

Global variables are always considered to be captured.

predicate isCaptured()