* PD: Fix 'testing inequality to None' syntax - Substitute `is not None` for `!= None` - Fix trailing whitespace