docstr: FileBasedHeader is an abstract class, so __eq__ is undefined.
  Checking for the same header type is sufficient, here.
docstr_tok: ["FileBasedHeader","is","an","abstract","class",",","so","__eq__","is","undefined",".","Checking","for","the","same","header","type","is","sufficient",",","here","."]
code: def _header_eq(header_a, header_b):
      """FileBasedHeader is an abstract class, so __eq__ is undefined.
      Checking for the same header type is sufficient, here."""
      return type(header_a) == type(header_b) == FileBasedHeader
  
imports: import warnings
  from itertools import product
  import numpy
  import pytest
  from ..filebasedimages import FileBasedHeader, FileBasedImage, SerializableImage
  from .test_image_api import GenericImageAPI, SerializeMixin
label_desc: Use image node_id 1 for calling the TestSerializableImageAPI obj's underlying member method code with example usage: obj._header_eq(header_a, header_b) and returns: unknown