Fix pycodestyle warning
Fix pycodestyle warning

Previously we were getting:

    E711 comparison to None should be 'if cond is not None:'

This might have been an actually bug re: the precedence.

CCI-MOC/haas