@property
    def is_on(self):
        return self.smartplug.state == 'ON'
Chooses the 2 most separated elements of the dataset based on the distance stored in distance matrix.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/dlink.py/SmartPlugSwitch.is_on--crossover with--dataset/ETHPy150Open victor-gil-sepulveda/pyProCT/pyproct/clustering/algorithms/gromos/parametersGeneration.py/ParametersGenerator.get_most_separated_elements