
  -spec erlang:set_cookie(Cookie) -> true when Cookie :: atom().

Since:
  OTP 24.1

  Sets the magic cookie of the local node to the atom Cookie,
  which is also the cookie for all nodes that have no explicit
  cookie set with set_cookie/2 Cookie (see section Distributed
  Erlang in the Erlang Reference Manual in System Documentation).

  Failure: function_clause if the local node is not alive.
