canEnd property

bool Function()? canEnd
getter/setter pair

Determines whether to end; returns false if you don't want to end

Implementation

bool Function()? canEnd;