def lowercase_subset(A, B):
    """Check that A is a subset of B when case is ignored."""
    set_a = set([a.lower() for a in A])
    set_b = set([b.lower() for b in B])
    return set_a.issubset(set_b)