class_docstr: Manipulate flags stored bitwise.
docstr: Get the item.
docstr_tok: ["Get","the","item","."]
code: def __getitem__(self, item):
      """Get the item."""
      pos = self.meaning[item]
      data = self._value
      if isinstance(data, xr.DataArray):
          data = data.data
          res = ((data >> pos) % 2).astype(bool)
          res = xr.DataArray(
              res,
              coords=self._value.coords,
              attrs=self._value.attrs,
              dims=self._value.dims,
          )
      else:
          res = ((data >> pos) % 2).astype(bool)
      return res
  
imports: import logging
  from functools import reduce
  import dask.array
  import numpy
  import xarray
  from satpy._compat import cached_property
  from satpy.readers import open_file_or_filename
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import angle2xyz, get_legacy_chunk_size, xyz2angle
label_desc: Use image node_id 2 for calling the BitFlags obj's underlying member method code with example usage: obj.__getitem__(item) and returns: res