… is not None is the preferred form
… is not None is the preferred form

Also try to put None as the "else" argument instead of the "if" one
in ternary expressions.

systemd/mkosi,systemd/mkosi,UbiCastTeam/mkosi,UbiCastTeam/mkosi