if len(set(sum_list))> return false return true nowgive the value of the matrix and check the outputprint(magic_square([[ , , ][ , , ][ , , ]])you can observe that the output would be false as the sum is not up to the same number print(magic_square([[ , , ][ , , ][ , , ]])you can observe that the output would be true as the sum is the same numberthat is here