Generally it's a good practice to have the positive branch of the `if` first. The code reads more naturally and you don't have to do the `not` check explicitly.