minor #20016 [Form] FormView->isRendered() remove dead code and simplify the flow (taueres)
minor #20016 [Form] FormView->isRendered() remove dead code and simplify the flow (taueres)

This PR was merged into the 2.7 branch.

Discussion
----------

[Form] FormView->isRendered() remove dead code and simplify the flow

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

The method `FormView->isRendered()` can be easily simplified by removing useless conditions and statements.
The condition at line 74 is useless because of the composite condition at line 70.
Removed dead code statement at line 84.

Commits
-------

40af42c [Form] FormView->isRendered() remove dead code and simplify the flow

curry684/symfony,tgalopin/symfony,patrick-mcdougle/symfony,SaschaDens/symfony,romaricdrigon/symfony,kbond/symfony,SpacePossum/symfony,ajgarlag/symfony,pierredup/symfony,mihai-stancu/symfony,michaelperrin/symfony,Aliance/symfony,zcodes/symfony,Koc/symfony,Padam87/symfony,Triiistan/symfony,localheinz/symfony,garak/symfony,phramz/symfony,yceruto/symfony,joelwurtz/symfony,mweimerskirch/symfony,MatTheCat/symfony,Tobion/symfony,tucksaun/symfony,pierredup/symfony,yceruto/symfony,Nyholm/symfony,apetitpa/symfony,ragboyjr/symfony,maidmaid/symfony,Padam87/symfony,SaschaDens/symfony,zorn-v/symfony,Slamdunk/symfony,weaverryan/symfony,nicolas-grekas/symfony,Triiistan/symfony,SpacePossum/symfony,OskarStark/symfony,dzuelke/symfony,mvhirsch/symfony,localheinz/symfony,Tobion/symfony,Amo/symfony,mihai-stancu/symfony,tgalopin/symfony,klandaika/symfony,oleg-andreyev/symfony,andreia/symfony,klandaika/symfony,dbu/symfony,gencer/symfony,mpdude/symfony,pyrech/symfony,Ener-Getick/symfony,docteurklein/symfony,chalasr/symfony,GuilhemN/symfony,Aliance/symfony,localheinz/symfony,aeoris/symfony,zcodes/symfony,neemzy/symfony,andreia/symfony,Strate/symfony,frankdejonge/symfony,Tobion/symfony,mnapoli/symfony,alekitto/symfony,csarrazi/symfony,symfony/symfony,hacfi/symfony,weaverryan/symfony,nicolas-grekas/symfony,joelwurtz/symfony,maidmaid/symfony,1ed/symfony,dzuelke/symfony,dosten/symfony,jakzal/symfony,lstrojny/symfony,docteurklein/symfony,paradajozsef/symfony,kbond/symfony,Ener-Getick/symfony,localheinz/symfony,jean-gui/symfony,chrisguitarguy/symfony,HeahDude/symfony,pierredup/symfony,mweimerskirch/symfony,sroze/symfony,yceruto/symfony,Pierstoval/symfony,jakubsacha/symfony,phramz/symfony,dzuelke/symfony,Deamon/symfony,mweimerskirch/symfony,apetitpa/symfony,vincentaubert/symfony,WhiteEagle88/symfony,dosten/symfony,Ener-Getick/symfony,lepiaf/symfony,damienalexandre/symfony,stof/symfony,garak/symfony,csarrazi/symfony,lstrojny/symfony,smatyas/symfony,shieldo/symfony,derrabus/symfony,sstok/symfony,paradajozsef/symfony,oleg-andreyev/symfony,ro0NL/symfony,chrisguitarguy/symfony,fabpot/symfony,symfony/symfony,Nyholm/symfony,pyrech/symfony,sgehrig/symfony,shieldo/symfony,Koc/symfony,arjenm/symfony,arjenm/symfony,GuilhemN/symfony,ajgarlag/symfony,vincentaubert/symfony,hiddewie/symfony,romainneutron/symfony,pyrech/symfony,shieldo/symfony,Pierstoval/symfony,fabpot/symfony,curry684/symfony,csarrazi/symfony,ragboyjr/symfony,hason/symfony,lemoinem/symfony,HeahDude/symfony,smatyas/symfony,vincentaubert/symfony,mihai-stancu/symfony,maidmaid/symfony,hhamon/symfony,ragboyjr/symfony,lepiaf/symfony,OndraM/symfony,lemoinem/symfony,damienalexandre/symfony,gimler/symfony,zcodes/symfony,SpacePossum/symfony,mvhirsch/symfony,e-moe/symfony,sgehrig/symfony,lyrixx/symfony,romainneutron/symfony,mvhirsch/symfony,chalasr/symfony,mnapoli/symfony,weaverryan/symfony,paradajozsef/symfony,backbone87/symfony,ogizanagi/symfony,MatTheCat/symfony,romainneutron/symfony,hason/symfony,ajgarlag/symfony,shieldo/symfony,apfelbox/symfony,hiddewie/symfony,Amo/symfony,nasimnabavi/symfony,garak/symfony,derrabus/symfony,mpdude/symfony,jean-gui/symfony,xabbuh/symfony,lemoinem/symfony,Nyholm/symfony,jakzal/symfony,mihai-stancu/symfony,curry684/symfony,Pierstoval/symfony,mpdude/symfony,zorn-v/symfony,sstok/symfony,teohhanhui/symfony,dzuelke/symfony,smatyas/symfony,alekitto/symfony,Engerim/symfony,andrerom/symfony,Pierstoval/symfony,Taluu/symfony,vincentaubert/symfony,Soullivaneuh/symfony,HeahDude/symfony,dunglas/symfony,OskarStark/symfony,gnat42/symfony,jvasseur/symfony,e-moe/symfony,bendavies/symfony,gnat42/symfony,mnapoli/symfony,neemzy/symfony,romaricdrigon/symfony,jderusse/symfony,apfelbox/symfony,docteurklein/symfony,pierredup/symfony,hhamon/symfony,hiddewie/symfony,Soullivaneuh/symfony,apfelbox/symfony,jjanvier/symfony,gencer/symfony,Soullivaneuh/symfony,frankdejonge/symfony,jderusse/symfony,c960657/symfony,chrisguitarguy/symfony,Triiistan/symfony,ajgarlag/symfony,voronkovich/symfony,mweimerskirch/symfony,patrick-mcdougle/symfony,c960657/symfony,Tobion/symfony,Nyholm/symfony,Deamon/symfony,hhamon/symfony,neemzy/symfony,Slamdunk/symfony,josephdpurcell/symfony,Simperfit/symfony,yceruto/symfony,Einenlum/symfony,Padam87/symfony,Deamon/symfony,codeclimate-testing/symfony,Slamdunk/symfony,pamil/symfony,codeclimate-testing/symfony,fabpot/symfony,phramz/symfony,inso/symfony,jakubsacha/symfony,MatTheCat/symfony,tgalopin/symfony,DavidGarciaCat/symfony,nasimnabavi/symfony,GuilhemN/symfony,dmaicher/symfony,iltar/symfony,ogizanagi/symfony,jjanvier/symfony,jvasseur/symfony,klandaika/symfony,jzawadzki/symfony,ragboyjr/symfony,pamil/symfony,curry684/symfony,DavidGarciaCat/symfony,Ener-Getick/symfony,xabbuh/symfony,1ed/symfony,voronkovich/symfony,jakzal/symfony,dosten/symfony,mnapoli/symfony,dmaicher/symfony,patrick-mcdougle/symfony,phramz/symfony,Soullivaneuh/symfony,symfony/symfony,Simperfit/symfony,pamil/symfony,Ener-Getick/symfony,dmaicher/symfony,jderusse/symfony,dbu/symfony,backbone87/symfony,weaverryan/symfony,sstok/symfony,Padam87/symfony,smatyas/symfony,dosten/symfony,mpdude/symfony,tucksaun/symfony,hacfi/symfony,mweimerskirch/symfony,ro0NL/symfony,Einenlum/symfony,iltar/symfony,aeoris/symfony,andrerom/symfony,gonzalovilaseca/symfony,deguif/symfony,romainneutron/symfony,apfelbox/symfony,jakubsacha/symfony,Soullivaneuh/symfony,Taluu/symfony,nasimnabavi/symfony,Triiistan/symfony,zerkms/symfony,inso/symfony,gonzalovilaseca/symfony,d-ph/symfony,dbu/symfony,klandaika/symfony,jakubsacha/symfony,apfelbox/symfony,hason/symfony,stof/symfony,chrisguitarguy/symfony,zerkms/symfony,apetitpa/symfony,zorn-v/symfony,jameshalsall/symfony,voronkovich/symfony,derrabus/symfony,lyrixx/symfony,lyrixx/symfony,patrick-mcdougle/symfony,e-moe/symfony,hacfi/symfony,klandaika/symfony,codeclimate-testing/symfony,zerkms/symfony,bendavies/symfony,hiddewie/symfony,symfony/symfony,dunglas/symfony,hiddewie/symfony,Taluu/symfony,sstok/symfony,sroze/symfony,jvasseur/symfony,Koc/symfony,arjenm/symfony,paradajozsef/symfony,WhiteEagle88/symfony,k0pernikus/symfony,ro0NL/symfony,jean-gui/symfony,tucksaun/symfony,jakubsacha/symfony,kbond/symfony,Slamdunk/symfony,deguif/symfony,gonzalovilaseca/symfony,jean-gui/symfony,deguif/symfony,lstrojny/symfony,dbu/symfony,SaschaDens/symfony,inso/symfony,okdana/symfony,fabpot/symfony,docteurklein/symfony,sstok/symfony,gnat42/symfony,tgalopin/symfony,voronkovich/symfony,josephdpurcell/symfony,Triiistan/symfony,aeoris/symfony,Aliance/symfony,andreia/symfony,jderusse/symfony,SaschaDens/symfony,inso/symfony,xabbuh/symfony,frankdejonge/symfony,nicolas-grekas/symfony,okdana/symfony,hhamon/symfony,GuilhemN/symfony,gimler/symfony,d-ph/symfony,chrisguitarguy/symfony,michaelperrin/symfony,OndraM/symfony,Taluu/symfony,1ed/symfony,nicolas-grekas/symfony,tucksaun/symfony,zerkms/symfony,OskarStark/symfony,andreia/symfony,d-ph/symfony,lemoinem/symfony,chalasr/symfony,Simperfit/symfony,frankdejonge/symfony,DavidGarciaCat/symfony,Simperfit/symfony,stof/symfony,jameshalsall/symfony,Deamon/symfony,OndraM/symfony,zorn-v/symfony,joelwurtz/symfony,Amo/symfony,sroze/symfony,ro0NL/symfony,xabbuh/symfony,maidmaid/symfony,derrabus/symfony,garak/symfony,c960657/symfony,jzawadzki/symfony,Einenlum/symfony,Amo/symfony,WhiteEagle88/symfony,andrerom/symfony,1ed/symfony,patrick-mcdougle/symfony,dbu/symfony,Amo/symfony,Simperfit/symfony,OndraM/symfony,joelwurtz/symfony,teohhanhui/symfony,sgehrig/symfony,SaschaDens/symfony,mvhirsch/symfony,jzawadzki/symfony,Strate/symfony,MatTheCat/symfony,damienalexandre/symfony,jameshalsall/symfony,k0pernikus/symfony,mvhirsch/symfony,e-moe/symfony,pyrech/symfony,deguif/symfony,romainneutron/symfony,nasimnabavi/symfony,mnapoli/symfony,jameshalsall/symfony,gimler/symfony,HeahDude/symfony,sroze/symfony,k0pernikus/symfony,SpacePossum/symfony,gencer/symfony,lyrixx/symfony,Padam87/symfony,mihai-stancu/symfony,k0pernikus/symfony,SpacePossum/symfony,jvasseur/symfony,apetitpa/symfony,ogizanagi/symfony,lepiaf/symfony,pamil/symfony,damienalexandre/symfony,Ener-Getick/symfony,gimler/symfony,stof/symfony,dunglas/symfony,k0pernikus/symfony,Deamon/symfony,bendavies/symfony,gnat42/symfony,gonzalovilaseca/symfony,d-ph/symfony,OndraM/symfony,teohhanhui/symfony,lemoinem/symfony,sgehrig/symfony,jjanvier/symfony,oleg-andreyev/symfony,ogizanagi/symfony,iltar/symfony,zcodes/symfony,codeclimate-testing/symfony,inso/symfony,josephdpurcell/symfony,arjenm/symfony,jjanvier/symfony,Engerim/symfony,dzuelke/symfony,OskarStark/symfony,smatyas/symfony,okdana/symfony,romaricdrigon/symfony,jameshalsall/symfony,dmaicher/symfony,alekitto/symfony,teohhanhui/symfony,Engerim/symfony,romaricdrigon/symfony,andrerom/symfony,Strate/symfony,chalasr/symfony,jakzal/symfony,docteurklein/symfony,Koc/symfony,michaelperrin/symfony,dosten/symfony,alekitto/symfony,oleg-andreyev/symfony,c960657/symfony,Einenlum/symfony,backbone87/symfony,bendavies/symfony,kbond/symfony,jjanvier/symfony,iltar/symfony,GuilhemN/symfony,michaelperrin/symfony