# Functions
AtLeastOneNodeCompatibleWithZen1 returns true if at least one of the following conditions is true: 1.
IsCompatibleWithZen1 returns true if the given StatefulSet is compatible with zen1.
SetupMinimumMasterNodesConfig modifies the ES config of the given resources to setup zen1 minimum master nodes.
UpdateMinimumMasterNodes calls the ES API to update the minimum_master_nodes setting if required, based on nodes currently running in the cluster.
UpdateMinimumMasterNodesTo calls the ES API to update the value of zen1 minimum_master_nodes to the given value, if the cluster is using zen1.