Compare two arrays of Python objects and return True if all objects in arrayA are also in arrayB.
arrayA = ['a', 'b', 'c', 'd']
arrayB = ['c', 'b', 'a', 'd', 'e']
def compare_arrays(arrA, arrB):
    for i in arrA:
        if i not in arrB:
            return False
    return True