def switch(self, *args):
        """
        Method that attempts to change the switch to the opposite of its
        current state. Calls either switch_on() or switch_off() to accomplish
        this.

        :param kwargs: an variable length dictionary of key-pair arguments
            passed through to either switch_on() or switch_off()
        :return: Boolean. Returns True if the switch changes state
        """
        if self.is_switched():
            return self.switch_off(*args)
        else:
            return self.switch_on(*args)
Method that attempts to change the switch to the opposite of its
        current state. Calls either switch_on() or switch_off() to accomplish
        this.

        :param kwargs: an variable length dictionary of key-pair arguments
            passed through to either switch_on() or switch_off()
        :return: Boolean. Returns True if the switch changes state