pub fn in_replicated_execution() -> bool
Checks if in replicated execution.
The canister can check whether it is currently running in replicated or non replicated execution.