'generated source for method VectorEqualsUnordered'

@classmethod
def VectorEqualsUnordered(cls, lhs, rhs):

    if (lhs == rhs):
        return True
    lhsCount = (0 if (lhs is None) else len(lhs))
    rhsCount = (0 if (rhs is None) else len(rhs))
    if (lhsCount != rhsCount):
        return False
    if (lhsCount == 0):
        return True
    matchedRhsElems = [bool() for __idx0 in range(rhsCount)]
    lhsIdx = 0
    while (lhsIdx < lhsCount):
        lhsElem = lhs[lhsIdx]
        rhsIdx = 0
        while (rhsIdx < rhsCount):
            if matchedRhsElems[rhsIdx]:
                continue
            if (lhsElem == rhs[rhsIdx]):
                matchedRhsElems[rhsIdx] = True
                break
            rhsIdx += 1
        if (rhsIdx >= rhsCount):
            return False
        lhsIdx += 1
    return True
