Get commands from xml string as a list of (command_type:int, turnbased:boolean, command:string)

def get_commands(self, mission_xml, role):
        """Get commands from xml string as a list of (command_type:int, turnbased:boolean, command:string)"""
        mission = etree.fromstring(mission_xml)
        return self.get_commands_from_xml(mission, role)