code: def validate_arguments(self, view_class, kwargs):
          
  
          # Check view_class inherit from django View
          if not issubclass(view_class, View):
              raise PopupViewIsNotSubclassView()
  
          self.view_class_name = view_class.__name__
          self.popup_dialog_title = kwargs.pop("popup_dialog_title", _("Popup Dialog: Select value"))
  
          self.callback_data = kwargs.pop("callback_data", {})
          if not isinstance(self.callback_data, dict):
              raise AttributeError("callback_data argument must be a dictionary")
          try:
              self.callback_data = urllib.urlencode(self.callback_data)
          except AttributeError:
              self.callback_data = urllib.parse.urlencode(self.callback_data)
docs: view_class : View Class used to render content popup dialog
          view_class must be subclass of django.views.generic.View