class_docstr: A mask backed by a dense numpy array.
class_docstr_tok: ["A","mask","backed","by","a","dense","numpy","array","."]
code: def __eq__(self, other: object):
      if not isinstance(other, type(self)):
          return NotImplemented
  
      return np.array_equal(self.array, other.array, equal_nan=True)
  
imports: from __future__ import annotations
  import dataclasses
  from typing import Any, Callable, Sequence, Tuple
  import numpy
label_desc: Use image node_id 4 for calling the NumpyMask obj's underlying member method code with example usage: obj.__eq__(other) and returns: np, NotImplemented