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