```python
    isPyramid = not isPyramid
```