Handle comparing vCard fields where inputs are lists of components.

    Handle parameters?  Are any used aside from 'TYPE'?
    Note: force cast to string to compare sub-objects like Name and Address

def VcardFieldsEqual(field1, field2):
    """Handle comparing vCard fields where inputs are lists of components.

    Handle parameters?  Are any used aside from 'TYPE'?
    Note: force cast to string to compare sub-objects like Name and Address
    """
    field1_vals = set([ str(f.value) for f in field1 ])
    field2_vals = set([ str(f.value) for f in field2 ])
    if field1_vals == field2_vals:
        return True
    else:
        return False