code: def vertical_flip(self, inplace=False):
      if not inplace:
          flipped = deepcopy(self)
          return flipped.vertical_flip(inplace=True)
  
      self.mask = self.mask[::-1, :]
      return self
  
imports: import enum
  from copy import deepcopy
  import numpy
  from skimage import img_as_ubyte
  from skimage.transform import rescale, resize
  from .countless2d import zero_corrected_countless
label_desc: Use image node_id 5 for calling the ObjectMask obj's underlying member method code with example usage: obj.vertical_flip(inplace) and returns: self, flipped