I would change this to `True, if...` to be consistent with other code in this file. Same goes for the next line.