code: def flags_info(arr):
      flags = wrap.array_attrs(arr)[6]
      return flags2names(flags)
  
imports: import os
  import sys
  import copy
  import platform
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal
  from numpy.core.multiarray import typeinfo
  from .None import util
label_desc: Use image node_id 2 for calling a global function with example usage: flags_info(arr) and returns: flags2names