def is_iterable(value):
    """
    Returns true if the argument is iterable, that is, if it implements the __iter__ method
    http://anandology.com/python-practice-book/iterators.html
    """
    try:
        iter(value)
        return True
    except TypeError:
        return False
