code: def is_among(value, *possibilities):
      
      for possibility in possibilities:
          if value == possibility:
              return True
      raise Exception('A different request value was encountered than expected: {0}'.format(value))
docs: Ensure that the method that has been used for the request is one
      of the expected ones (e.g., GET or POST).