code: def getParameterByValue(self, value):
          
          result = None
          for parameter in self.getParameters():
              valueParam = parameter.getValue()
              if valueParam == value:
                  result = parameter
                  break
          return result
docs: Searchs a parameter by value and returns it.