code: def _validate_question_area(self):
          
          hazard_index = self.hazard_layer_combo.currentIndex()
          exposure_index = self.exposure_layer_combo.currentIndex()
          if hazard_index == -1 or exposure_index == -1:
              if self.conflicting_plugin_detected:
                  message = conflicting_plugin_message()
              else:
                  message = getting_started_message()
              return False, message
          else:
              return True, None
docs: Helper method to evaluate the current state of the dialog.
  
          This function will determine if it is appropriate for the OK button to
          be enabled or not.
  
          .. note:: The enabled state of the OK button on the dialog will
             NOT be updated (set True or False) depending on the outcome of
             the UI readiness tests performed - **only** True or False
             will be returned by the function.
  
          :returns: A two-tuple where the first element is a Boolean reflecting
           the results of the validation tests and the second is a message
           indicating any reason why the validation may have failed.
          :rtype: (Boolean, safe.messaging.Message)
  
          Example::
  
              flag,message = self._validate_question_area()