code: def accept(self, path, ext, operator):
      if operator in ["resize", "save"]:
          return "NG"
      else:
          if ext in [".dcm", ".dicom"]:
              return "OK"
          else:
              return "NG"
  
file_path: nnabla/python/src/nnabla/utils/image_utils/backend_events/dicom_backend.py
imports: from __future__ import absolute_import, division
  import numpy
  import pydicom
  from .common import _imread_before, _imread_after
  from .image_utils_backend import ImageUtilsBackend
label_desc: Use image node_id 2 for calling the DicomBackend obj's underlying member method code with example usage: obj.accept(path, ext, operator) and returns: str, str, str