code: def p_state_action_constraint_section(self, p):
          '''state_action_constraint_section : STATE_ACTION_CONSTRAINTS LCURLY state_cons_list RCURLY SEMI
                                             | STATE_ACTION_CONSTRAINTS LCURLY RCURLY SEMI'''
          if len(p) == 6:
              p[0] = ('constraints', p[3])
          elif len(p) == 5:
              p[0] = ('constraints', [])
          self._print_verbose('state-action-constraints'f p_state_action_constraint_section(self, p):
          '''state_action_constraint_section : STATE_ACTION_CONSTRAINTS LCURLY state_cons_list RCURLY SEMI
                                             | STATE_ACTION_CONSTRAINTS LCURLY RCURLY SEMI'''
          if len(p) == 6:
              p[0] = ('constraints', p[3])
          elif len(p) == 5:
              p[0] = ('constraints', [])
          self._print_verbose('state-action-constraints')
docs: state_action_constraint_section : STATE_ACTION_CONSTRAINTS LCURLY state_cons_list RCURLY SEMI
                                             | STATE_ACTION_CONSTRAINTS LCURLY RCURLY SEMI