Python Check If Any Value In Array Is Mutable Or Immutable In Python