code: def _is_array_writeable(a):
      if hasattr(a, "flags") and hasattr(a.flags, "writeable"):
          return a.flags.writeable
      # writeable as default
      return True
  
file_path: mars/mars/tensor/array_utils.py
imports: from collections import defaultdict
  from contextlib import contextmanager
  import numpy
  from ..lib import sparse
  from ..lib.sparse.core import issparse, get_dense_module
  from ..utils import lazy_import
label_desc: Use image node_id 9 for calling a global function with example usage: _is_array_writeable(a) and returns: True, a