Usually in any program with well-defined semantics (e.g. not using janky multithreaded mutability), this will be true