code: def set_current_state(self):
          Helper to set the state of the step from current keywords."""
          if not self.thresholds:
              self.thresholds = self.parent.get_existing_keyword('thresholds')
          if not self.value_maps:
              self.value_maps = self.parent.get_existing_keyword('value_maps')
docs: Helper to set the state of the step from current keywords.