'Return the value of the action attribute.
If the Iq stanza\'s type is "set" then use a default
value of "execute".'

def get_action(self):

    if (self.parent()['type'] == 'set'):
        return self._get_attr('action', default='execute')
    return self._get_attr('action')
