code: def __init__(self, is_training):
      # Parameters:
      #    is_training(bool): If true - random rectangular mask, if false - central square mask
      self.is_training = is_training
  
imports: import math
  import random
  import hashlib
  import logging
  from enum import Enum
  import cv2
  import numpy
label_desc: Use image node_id 1 to create a new DumbAreaMaskGenerator object  with example: obj = DumbAreaMaskGenerator(is_training)