'Interpolate all items from a given source array.
Args:
input_list: list of values to interpolate
Returns:
original list of values extended with strings interpolated'

def InterpolateList(self, input_list):

    new_args = []
    for value in input_list:
        if isinstance(value, basestring):
            results = list(artifact_utils.InterpolateKbAttributes(value, self.state.knowledge_base, ignore_errors=self.args.ignore_interpolation_errors))
            new_args.extend(results)
        else:
            new_args.extend(value)
    return new_args
