You could use the ```if getattr(coord, 'circular', False):``` here instead.