[py] fix inverted logic and flake8 failure (#3346)
[py] fix inverted logic and flake8 failure (#3346)


lmtierney/selenium,chrisblock/selenium,valfirst/selenium,jsakamoto/selenium,valfirst/selenium,Dude-X/selenium,5hawnknight/selenium,asolntsev/selenium,dibagga/selenium,asolntsev/selenium,chrisblock/selenium,valfirst/selenium,Dude-X/selenium,asashour/selenium,bayandin/selenium,Dude-X/selenium,jsakamoto/selenium,carlosroh/selenium,gurayinan/selenium,Dude-X/selenium,tbeadle/selenium,joshmgrant/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,mojwang/selenium,dibagga/selenium,xmhubj/selenium,joshmgrant/selenium,xmhubj/selenium,mojwang/selenium,dibagga/selenium,kalyanjvn1/selenium,Ardesco/selenium,jabbrwcky/selenium,DrMarcII/selenium,markodolancic/selenium,jsakamoto/selenium,Ardesco/selenium,titusfortner/selenium,asolntsev/selenium,jsakamoto/selenium,kalyanjvn1/selenium,gurayinan/selenium,jsakamoto/selenium,krmahadevan/selenium,dibagga/selenium,krmahadevan/selenium,DrMarcII/selenium,juangj/selenium,SeleniumHQ/selenium,titusfortner/selenium,SeleniumHQ/selenium,asolntsev/selenium,joshmgrant/selenium,xsyntrex/selenium,mach6/selenium,valfirst/selenium,xsyntrex/selenium,SeleniumHQ/selenium,Ardesco/selenium,joshmgrant/selenium,DrMarcII/selenium,kalyanjvn1/selenium,oddui/selenium,markodolancic/selenium,GorK-ChO/selenium,asolntsev/selenium,mojwang/selenium,joshmgrant/selenium,bayandin/selenium,xsyntrex/selenium,GorK-ChO/selenium,5hawnknight/selenium,Tom-Trumper/selenium,DrMarcII/selenium,tbeadle/selenium,joshbruning/selenium,joshbruning/selenium,xsyntrex/selenium,chrisblock/selenium,valfirst/selenium,HtmlUnit/selenium,lmtierney/selenium,juangj/selenium,mach6/selenium,xmhubj/selenium,tbeadle/selenium,mojwang/selenium,jabbrwcky/selenium,asashour/selenium,lmtierney/selenium,gurayinan/selenium,DrMarcII/selenium,joshmgrant/selenium,joshbruning/selenium,carlosroh/selenium,jabbrwcky/selenium,GorK-ChO/selenium,5hawnknight/selenium,SeleniumHQ/selenium,joshmgrant/selenium,juangj/selenium,oddui/selenium,gurayinan/selenium,carlosroh/selenium,markodolancic/selenium,valfirst/selenium,chrisblock/selenium,Jarob22/selenium,juangj/selenium,carlosroh/selenium,juangj/selenium,xmhubj/selenium,Ardesco/selenium,bayandin/selenium,Jarob22/selenium,DrMarcII/selenium,titusfortner/selenium,tbeadle/selenium,carlosroh/selenium,oddui/selenium,titusfortner/selenium,xmhubj/selenium,davehunt/selenium,DrMarcII/selenium,valfirst/selenium,twalpole/selenium,kalyanjvn1/selenium,HtmlUnit/selenium,tbeadle/selenium,asashour/selenium,mojwang/selenium,titusfortner/selenium,chrisblock/selenium,markodolancic/selenium,asolntsev/selenium,titusfortner/selenium,Jarob22/selenium,joshbruning/selenium,asashour/selenium,joshbruning/selenium,asashour/selenium,lmtierney/selenium,Ardesco/selenium,tbeadle/selenium,jabbrwcky/selenium,carlosroh/selenium,chrisblock/selenium,HtmlUnit/selenium,dibagga/selenium,bayandin/selenium,davehunt/selenium,5hawnknight/selenium,davehunt/selenium,xsyntrex/selenium,carlosroh/selenium,krmahadevan/selenium,twalpole/selenium,SeleniumHQ/selenium,twalpole/selenium,joshmgrant/selenium,DrMarcII/selenium,lmtierney/selenium,oddui/selenium,jsakamoto/selenium,joshmgrant/selenium,mojwang/selenium,bayandin/selenium,oddui/selenium,HtmlUnit/selenium,gurayinan/selenium,lmtierney/selenium,Dude-X/selenium,oddui/selenium,jsakamoto/selenium,jabbrwcky/selenium,valfirst/selenium,tbeadle/selenium,valfirst/selenium,Jarob22/selenium,Tom-Trumper/selenium,Tom-Trumper/selenium,5hawnknight/selenium,krmahadevan/selenium,xmhubj/selenium,kalyanjvn1/selenium,HtmlUnit/selenium,DrMarcII/selenium,krmahadevan/selenium,gurayinan/selenium,bayandin/selenium,GorK-ChO/selenium,kalyanjvn1/selenium,GorK-ChO/selenium,mojwang/selenium,tbeadle/selenium,gurayinan/selenium,dibagga/selenium,Jarob22/selenium,twalpole/selenium,Ardesco/selenium,Tom-Trumper/selenium,Jarob22/selenium,bayandin/selenium,valfirst/selenium,juangj/selenium,juangj/selenium,asolntsev/selenium,mach6/selenium,krmahadevan/selenium,markodolancic/selenium,carlosroh/selenium,twalpole/selenium,lmtierney/selenium,xsyntrex/selenium,Ardesco/selenium,5hawnknight/selenium,oddui/selenium,titusfortner/selenium,GorK-ChO/selenium,HtmlUnit/selenium,xsyntrex/selenium,chrisblock/selenium,gurayinan/selenium,bayandin/selenium,davehunt/selenium,xsyntrex/selenium,dibagga/selenium,Ardesco/selenium,xmhubj/selenium,Jarob22/selenium,Tom-Trumper/selenium,markodolancic/selenium,chrisblock/selenium,valfirst/selenium,asashour/selenium,mojwang/selenium,5hawnknight/selenium,asolntsev/selenium,SeleniumHQ/selenium,kalyanjvn1/selenium,Ardesco/selenium,joshbruning/selenium,jabbrwcky/selenium,kalyanjvn1/selenium,jsakamoto/selenium,joshmgrant/selenium,mach6/selenium,HtmlUnit/selenium,twalpole/selenium,SeleniumHQ/selenium,tbeadle/selenium,dibagga/selenium,titusfortner/selenium,HtmlUnit/selenium,joshbruning/selenium,krmahadevan/selenium,HtmlUnit/selenium,asolntsev/selenium,Dude-X/selenium,xmhubj/selenium,5hawnknight/selenium,titusfortner/selenium,Tom-Trumper/selenium,xmhubj/selenium,davehunt/selenium,asashour/selenium,xsyntrex/selenium,SeleniumHQ/selenium,Tom-Trumper/selenium,markodolancic/selenium,Dude-X/selenium,jabbrwcky/selenium,Jarob22/selenium,jabbrwcky/selenium,twalpole/selenium,mojwang/selenium,krmahadevan/selenium,twalpole/selenium,GorK-ChO/selenium,SeleniumHQ/selenium,Tom-Trumper/selenium,Tom-Trumper/selenium,twalpole/selenium,oddui/selenium,mach6/selenium,mach6/selenium,chrisblock/selenium,davehunt/selenium,oddui/selenium,bayandin/selenium,davehunt/selenium,titusfortner/selenium,davehunt/selenium,lmtierney/selenium,jabbrwcky/selenium,joshbruning/selenium,joshbruning/selenium,asashour/selenium,markodolancic/selenium,mach6/selenium,carlosroh/selenium,titusfortner/selenium,juangj/selenium,jsakamoto/selenium,mach6/selenium,gurayinan/selenium,krmahadevan/selenium,Jarob22/selenium,GorK-ChO/selenium,davehunt/selenium,mach6/selenium,5hawnknight/selenium,asashour/selenium,HtmlUnit/selenium,markodolancic/selenium,Dude-X/selenium,Dude-X/selenium,juangj/selenium,joshmgrant/selenium,GorK-ChO/selenium,lmtierney/selenium,kalyanjvn1/selenium,dibagga/selenium