-spec pre_kick(fun((cluster_id(), Target,
kick_intent()) -> ok | {error, _}),
classy_hook:conf()) -> classy_hook:hook() when Target ::
site().
Register a hook that verifies whether or not a site can be kicked from the cluster. This hook runs on the node that initiates the kick.
WARNING: this hook cannot have side effects.