code: def selected_impact_function_constraints(self):
          
  
          hazard = self.step_fc_functions1.selected_value(
              layer_purpose_hazard['key'])
          exposure = self.step_fc_functions1.selected_value(
              layer_purpose_exposure['key'])
  
          hazard_geometry = self.step_fc_functions2.selected_value(
              layer_purpose_hazard['key'])
          exposure_geometry = self.step_fc_functions2.selected_value(
              layer_purpose_exposure['key'])
          return hazard, exposure, hazard_geometry, exposure_geometry
docs: Obtain impact function constraints selected by user.
  
          :returns: Tuple of metadata of hazard, exposure,
              hazard layer geometry and exposure layer geometry
          :rtype: tuple