removing extraneous bool statement in cgrid.py