def are_in(items, collection):
    """Return True for each item in the collection

    :param items: a sub-collection
    :param collection: a collection
    :returns: a list of booleans

    >>> are_in(['Terry', 'James'], ['Terry', 'John', 'Eric'])
    [True, False]

    """
    if not isinstance(items, (list, tuple)):
        items = (items, )
    return map(lambda x: x in collection, items)
Return True for each item in the collection

    :param items: a sub-collection
    :param collection: a collection
    :returns: a list of booleans

    >>> are_in(['Terry', 'James'], ['Terry', 'John', 'Eric'])
    [True, False]