```python
>>> max_results = None
>>> max_results < 100
True
>>> page_size = 100
>>> if max_results < page_size:
...     page_size = max_results
...
>>> page_size is None
True
```