def isfirst(iterable):
    """
	Iterate through items of the iterable and give information about whether the
	item is the first in the iterable::

		>>> list(misc.isfirst("foo"))
		[(True, 'f'), (False, 'o'), (False, 'o')]
	"""
    first = True
    for item in iterable:
        yield first, item
        first = False
