Javascript Test If String In Python Is Mutable Or Immutable