'Execute one vector and return the result.
Run the vector with specified name. Optionally store results.
Args:
name (str): The name of vector to execute.
format_args (dict): The arguments dictionary used to format the vectors with.
store_result (bool): Store result in session.
Returns:
Object. Contains the vector execution result.'

def get_result(self, name, format_args={}, store_result=False):

    vector = self.get_by_name(name)
    if (vector and self._os_match(vector.target)):
        format_args['current_vector'] = vector.name
        result = vector.run(format_args)
        if store_result:
            self.session[self.module_name]['results'][name] = result
        return result
