'Encapsulates an argument in a list, if it\'s not already iterable.'

@staticmethod
def _AsList(arg):

    if (isinstance(arg, basestring) or (not isinstance(arg, collections.Iterable))):
        return [arg]
    else:
        return list(arg)
