Adds some comments and refactors some of the presubmit-check for clarity
Adds some comments and refactors some of the presubmit-check for clarity

Some of the functions had missing or incorrect comments so this change adds
some more comments for consistency and makes a change to use a vinyl file
where it was specified in the comments but not used yet in the code. Also,
I renamed one of the functions to better reflect what was being tested (any vs all)
as it didn't make sense based on the current logic.

pedjoni8/amphtml,jridgewell/amphtml,jpettitt/amphtml,engtat/amphtml,dvoytenko/amphtml,DAC-f1h-dev/amphtml,yevheniiminin/amphtml,camelburrito/amphtml,ADITION/amphtml,yieldmo/amphtml,Gregable/amphtml,shawnbuso/amphtml,pietergreyling/amphtml,alanorozco/amphtml,zhucl/amphtml,criteo-forks/amphtml,kamtschatka/amphtml,sebastianbenz/amphtml,avimehta/amphtml,mlb7687/amphtml,jridgewell/amphtml,Lith/amphtml,koshka/amphtml,rsimha-amp/amphtml,laterpay/amphtml,yieldmo/amphtml,koshka/amphtml,zhangsu/amphtml,danielrozenberg/amphtml,taboola/amphtml,powdercloud/amphtml,yieldmo/amphtml,yieldmo/amphtml,ampproject/amphtml,britice/amphtml,lzanol/amphtml,BenDz/amphtml,jpettitt/amphtml,burtcorp/amphtml,sharethrough/amphtml,voyagegroup/amphtml,chrisbrent/amphtml,BenDz/amphtml-atinternet,adiant/amphtml,zhouyx/amphtml,keithwrightbos/amphtml,jmadler/amphtml,Mixpo/amphtml,NataliaLKB/amphtml,spotxchange/amphtml,erwinmombay/amphtml,clawr/amphtml,Mobusi-ads/amphtml,wjfang/amphtml,shawnbuso/amphtml,media-net/amphtml,kixer-com/amphtml,sriramkrish85/amphtml,dvoytenko/amphtml,zhucl/amphtml,mlb7687/amphtml,cory-work/amphtml,DistroScale/amphtml,clawr/amphtml,jridgewell/amphtml,rsimha-amp/amphtml,rajkumarsrk/amphtml,adtechnology/amphtml,nathangoulding/amphtml,gumgum/amphtml,mkhatib/amphtml,sharethrough/amphtml,gumgum/amphtml,BenDz/amphtml,arealit/amphtml,adup-tech/amphtml,burtcorp/amphtml,mhc-gh/amphtml,mkhatib/amphtml,gumgum/amphtml,adup-tech/amphtml,BenDz/amphtml,donttrustthisbot/amphtml,triplelift/amphtml,fullspeed-sp/amphtml,devjsun/amphtml,fullspeed-sp/amphtml,rlugojr/amphtml,cory-work/amphtml,pietergreyling/amphtml,jpettitt/amphtml,spotxchange/amphtml,smartadserver/amphtml,jaboc83/amphtml,lzanol/amphtml,btownsend/amphtml,AaronCritchley/amphtml,kmh287/amphtml,comScore/amphtml,gumgum/amphtml,Gregable/amphtml,rajkumarsrk/amphtml,keithwrightbos/amphtml,alanorozco/amphtml,lugray/amphtml,criteo-forks/amphtml,src-code/amphtml,bpaduch/amphtml,camelburrito/amphtml,mlb7687/amphtml,kamtschatka/amphtml,Adtoma/amphtml,laterpay/amphtml,AaronCritchley/amphtml,keithwrightbos/amphtml,tlong2/amphtml,techhtml/amphtml,jpettitt/amphtml,techhtml/amphtml,loic-seguin/amphtml,amoad-amoe/amphtml,engtat/amphtml,devjsun/amphtml,BrightcoveOS/amphtml,shawnbuso/amphtml,Mobusi-ads/amphtml,btownsend/amphtml,donttrustthisbot/amphtml,smartadserver/amphtml,Lith/amphtml,nathangoulding/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,sharethrough/amphtml,BrightcoveOS/amphtml,jmadler/amphtml,sklobovskaya/amphtml,comScore/amphtml,cory-work/amphtml,dotandads/amphtml,rifler/amphtml,dotandads/amphtml,ericlindley-g/amphtml,jmadler/amphtml,arealit/amphtml,camelburrito/amphtml,Gregable/amphtml,AaronCritchley/amphtml,widespace-os/amphtml,galeksic/amphtml,BenDz/amphtml-atinternet,simplereach/amphtml,tlong2/amphtml,adup-tech/amphtml,donttrustthisbot/amphtml,spotxchange/amphtml,interspacejp/amphtml,shawnbuso/amphtml,jpettitt/amphtml,ericlindley-g/amphtml,jlucero-contentad/amphtml,smartadserver/amphtml,widespace-os/amphtml,sklobovskaya/amphtml,plista/amphtml,ithinkihaveacat/amphtml,sebastianbenz/amphtml,sriramkrish85/amphtml,src-code/amphtml,smartadserver/amphtml,fullspeed-sp/amphtml,smartadserver/amphtml,adiant/amphtml,aghassemi/amphtml,arealit/amphtml,chaveznvg/amphtml,Adtoma/amphtml,criteo-forks/amphtml,cvializ/amphtml,JuliusThms/amphtml,danielrozenberg/amphtml,yieldbot/amphtml,jdelhommeau/amphtml,prateekbh/amphtml,devjsun/amphtml,spotxchange/amphtml,chaveznvg/amphtml,ampproject/amphtml,jridgewell/amphtml,widespace-os/amphtml,cvializ/amphtml,fullspeed-sp/amphtml,zhangsu/amphtml,kmh287/amphtml,nekodo/amphtml,mhc-gh/amphtml,yieldbot/amphtml,lugray/amphtml,donttrustthisbot/amphtml,yieldbot/amphtml,bpaduch/amphtml,lzanol/amphtml,mlb7687/amphtml,kmh287/amphtml,avimehta/amphtml,criteo-forks/amphtml,tdrl/amphtml,sortable/amphtml,Mixpo/amphtml,wjfang/amphtml,prateekbh/amphtml,jaboc83/amphtml,dotandads/amphtml,britice/amphtml,Mixpo/amphtml,voyagegroup/amphtml,pietergreyling/amphtml,sebastianbenz/amphtml,mhc-gh/amphtml,wjfang/amphtml,adtechnology/amphtml,zhouyx/amphtml,BenDz/amphtml-atinternet,bpaduch/amphtml,Re-lM/amphtml,mkhatib/amphtml,jridgewell/amphtml,burtcorp/amphtml,lannka/amphtml,zhucl/amphtml,engtat/amphtml,cory-work/amphtml,camelburrito/amphtml,bpaduch/amphtml,comScore/amphtml,yevheniiminin/amphtml,zhouyx/amphtml,pedjoni8/amphtml,adiant/amphtml,lzanol/amphtml,sortable/amphtml,engtat/amphtml,honeybadgerdontcare/amphtml,sortable/amphtml,pedjoni8/amphtml,engtat/amphtml,BrightcoveOS/amphtml,sklobovskaya/amphtml,techhtml/amphtml,Gregable/amphtml,rsimha-amp/amphtml,chrisbrent/amphtml,camelburrito/amphtml,koshka/amphtml,amoad-amoe/amphtml,devjsun/amphtml,ruturajv-media-net/amphtml,ruturajv-media-net/amphtml,laterpay/amphtml,taboola/amphtml,jlucero-contentad/amphtml,triplelift/amphtml,smartadserver/amphtml,mkhatib/amphtml,dotandads/amphtml,dotandads/amphtml,nathangoulding/amphtml,nekodo/amphtml,rsimha-amp/amphtml,Meggin/amphtml,shawnbuso/amphtml,comScore/amphtml,triplelift/amphtml,camelburrito/amphtml,cvializ/amphtml,koshka/amphtml,criteo-forks/amphtml,yevheniiminin/amphtml,sharethrough/amphtml,mkhatib/amphtml,ColombiaAnalytics/amphtml,Mixpo/amphtml,cvializ/amphtml,bpaduch/amphtml,alanorozco/amphtml,NataliaLKB/amphtml,arealit/amphtml,nexxtv/amphtml,tdrl/amphtml,danielrozenberg/amphtml,donttrustthisbot/amphtml,fullspeed-sp/amphtml,danielrozenberg/amphtml,media-net/amphtml,taboola/amphtml,adiant/amphtml,sortable/amphtml,yevheniiminin/amphtml,sriramkrish85/amphtml,jpettitt/amphtml,mhc-gh/amphtml,ericlindley-g/amphtml,nathangoulding/amphtml,arealit/amphtml,wjfang/amphtml,voyagegroup/amphtml,yieldmo/amphtml,taboola/amphtml,erwinmombay/amphtml,yevheniiminin/amphtml,gumgum/amphtml,jasti/amphtml,rsimha-amp/amphtml,ithinkihaveacat/amphtml,jdelhommeau/amphtml,lannka/amphtml,src-code/amphtml,interspacejp/amphtml,devjsun/amphtml,kmh287/amphtml,DarXector/amphtml,rifler/amphtml,nexxtv/amphtml,honeybadgerdontcare/amphtml,ADITION/amphtml,vmarteev/amphtml,yieldmo/amphtml,laterpay/amphtml,widespace-os/amphtml,tlong2/amphtml,rlugojr/amphtml,jpettitt/amphtml,lannka/amphtml,ruturajv-media-net/amphtml,keithwrightbos/amphtml,DistroScale/amphtml,powdercloud/amphtml,simplereach/amphtml,prateekbh/amphtml,taboola/amphtml,gumgum/amphtml,engtat/amphtml,jmadler/amphtml,kixer-com/amphtml,Gregable/amphtml,media-net/amphtml,tdrl/amphtml,plista/amphtml,camelburrito/amphtml,powdercloud/amphtml,zhucl/amphtml,wjfang/amphtml,kmh287/amphtml,clawr/amphtml,prateekbh/amphtml,media-net/amphtml,rifler/amphtml,dvoytenko/amphtml,sriramkrish85/amphtml,aghassemi/amphtml,nekodo/amphtml,Re-lM/amphtml,adtechnology/amphtml,powdercloud/amphtml,mlb7687/amphtml,donttrustthisbot/amphtml,simplereach/amphtml,avimehta/amphtml,devjsun/amphtml,techhtml/amphtml,yandex-pcode/amphtml,Lith/amphtml,triplelift/amphtml,sklobovskaya/amphtml,rsimha-amp/amphtml,Adtoma/amphtml,danielrozenberg/amphtml,lannka/amphtml,ericlindley-g/amphtml,techhtml/amphtml,adup-tech/amphtml,DAC-f1h-dev/amphtml,zhucl/amphtml,zhangsu/amphtml,mhc-gh/amphtml,galeksic/amphtml,zhangsu/amphtml,nexxtv/amphtml,ericlindley-g/amphtml,rlugojr/amphtml,zhouyx/amphtml,jdelhommeau/amphtml,rsimha-amp/amphtml,bpaduch/amphtml,ColombiaAnalytics/amphtml,shawnbuso/amphtml,yevheniiminin/amphtml,erwinmombay/amphtml,JuliusThms/amphtml,dvoytenko/amphtml,JuliusThms/amphtml,ampproject/amphtml,DistroScale/amphtml,lannka/amphtml,ADITION/amphtml,nexxtv/amphtml,Gregable/amphtml,luciancrasovan/amphtml,galeksic/amphtml,rifler/amphtml,ampproject/amphtml,luciancrasovan/amphtml,sriramkrish85/amphtml,Mixpo/amphtml,keithwrightbos/amphtml,Lith/amphtml,Lith/amphtml,laterpay/amphtml,vmarteev/amphtml,adup-tech/amphtml,src-code/amphtml,dotandads/amphtml,ecoron/amphtml,sklobovskaya/amphtml,kixer-com/amphtml,ecoron/amphtml,Adtoma/amphtml,jdelhommeau/amphtml,clawr/amphtml,BenDz/amphtml,yandex-pcode/amphtml,galeksic/amphtml,triplelift/amphtml,vmarteev/amphtml,JuliusThms/amphtml,jasti/amphtml,clawr/amphtml,alanorozco/amphtml,alanorozco/amphtml,koshka/amphtml,yandex-pcode/amphtml,tlong2/amphtml,ampproject/amphtml,criteo-forks/amphtml,zhangsu/amphtml,kamtschatka/amphtml,techhtml/amphtml,vmarteev/amphtml,honeybadgerdontcare/amphtml,luciancrasovan/amphtml,sriramkrish85/amphtml,chaveznvg/amphtml,yieldbot/amphtml,ithinkihaveacat/amphtml,prateekbh/amphtml,BenDz/amphtml,DAC-f1h-dev/amphtml,donttrustthisbot/amphtml,ecoron/amphtml,BrightcoveOS/amphtml,kamtschatka/amphtml,zhangsu/amphtml,amoad-amoe/amphtml,interspacejp/amphtml,jridgewell/amphtml,yandex-pcode/amphtml,kixer-com/amphtml,jasti/amphtml,sklobovskaya/amphtml,DistroScale/amphtml,Gregable/amphtml,media-net/amphtml,danielrozenberg/amphtml,sortable/amphtml,adtechnology/amphtml,DarXector/amphtml,ruturajv-media-net/amphtml,DAC-f1h-dev/amphtml,rajkumarsrk/amphtml,jdelhommeau/amphtml,Adtoma/amphtml,britice/amphtml,media-net/amphtml,adiant/amphtml,amoad-amoe/amphtml,engtat/amphtml,honeybadgerdontcare/amphtml,adiant/amphtml,arealit/amphtml,jlucero-contentad/amphtml,kamtschatka/amphtml,kamtschatka/amphtml,rifler/amphtml,AaronCritchley/amphtml,avimehta/amphtml,interspacejp/amphtml,yieldmo/amphtml,NataliaLKB/amphtml,triplelift/amphtml,chaveznvg/amphtml,rajkumarsrk/amphtml,Mixpo/amphtml,tdrl/amphtml,voyagegroup/amphtml,danielrozenberg/amphtml,keithwrightbos/amphtml,nexxtv/amphtml,Mobusi-ads/amphtml,vmarteev/amphtml,NataliaLKB/amphtml,pietergreyling/amphtml,ampproject/amphtml,Re-lM/amphtml,jridgewell/amphtml,keithwrightbos/amphtml,sharethrough/amphtml,plista/amphtml,wjfang/amphtml,ADITION/amphtml,AaronCritchley/amphtml,Re-lM/amphtml,src-code/amphtml,aghassemi/amphtml,DAC-f1h-dev/amphtml,fullspeed-sp/amphtml,zhouyx/amphtml,luciancrasovan/amphtml,ruturajv-media-net/amphtml,luciancrasovan/amphtml,tdrl/amphtml,Mobusi-ads/amphtml,spotxchange/amphtml,clawr/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,comScore/amphtml,aghassemi/amphtml,comScore/amphtml,alanorozco/amphtml,nexxtv/amphtml,luciancrasovan/amphtml,lannka/amphtml,ColombiaAnalytics/amphtml,jasti/amphtml,avimehta/amphtml,galeksic/amphtml,voyagegroup/amphtml,rajkumarsrk/amphtml,honeybadgerdontcare/amphtml,avimehta/amphtml,zhouyx/amphtml,ampproject/amphtml,rajkumarsrk/amphtml,sklobovskaya/amphtml,britice/amphtml,widespace-os/amphtml,cory-work/amphtml,mkhatib/amphtml,alanorozco/amphtml,ericlindley-g/amphtml,DarXector/amphtml,yieldbot/amphtml,arealit/amphtml,powdercloud/amphtml,ColombiaAnalytics/amphtml,media-net/amphtml,powdercloud/amphtml,DAC-f1h-dev/amphtml,aghassemi/amphtml,wjfang/amphtml,media-net/amphtml,loic-seguin/amphtml,cory-work/amphtml,kixer-com/amphtml,interspacejp/amphtml,loic-seguin/amphtml,ruturajv-media-net/amphtml,chrisbrent/amphtml,pedjoni8/amphtml,prateekbh/amphtml,zhouyx/amphtml,taboola/amphtml,Adtoma/amphtml,kixer-com/amphtml,voyagegroup/amphtml,mhc-gh/amphtml,adiant/amphtml,comScore/amphtml,mlb7687/amphtml,burtcorp/amphtml,prateekbh/amphtml,mhc-gh/amphtml,ecoron/amphtml,zhucl/amphtml,erwinmombay/amphtml,cvializ/amphtml,rlugojr/amphtml,jdelhommeau/amphtml,BrightcoveOS/amphtml,Lith/amphtml,tdrl/amphtml,DistroScale/amphtml,luciancrasovan/amphtml,ADITION/amphtml,zhucl/amphtml,loic-seguin/amphtml,src-code/amphtml,erwinmombay/amphtml,dvoytenko/amphtml,erwinmombay/amphtml,pietergreyling/amphtml,btownsend/amphtml,lzanol/amphtml,pedjoni8/amphtml,lzanol/amphtml,Mobusi-ads/amphtml,BenDz/amphtml,rajkumarsrk/amphtml,adtechnology/amphtml,DarXector/amphtml,adup-tech/amphtml,yieldbot/amphtml,mhc-gh/amphtml,jmadler/amphtml,jlucero-contentad/amphtml,jmadler/amphtml,honeybadgerdontcare/amphtml,ampproject/amphtml,interspacejp/amphtml,vmarteev/amphtml,voyagegroup/amphtml,pietergreyling/amphtml,dvoytenko/amphtml,ecoron/amphtml,sebastianbenz/amphtml,lannka/amphtml,vmarteev/amphtml,sortable/amphtml,JuliusThms/amphtml,adtechnology/amphtml,burtcorp/amphtml,jlucero-contentad/amphtml,kixer-com/amphtml,bpaduch/amphtml,rlugojr/amphtml,ithinkihaveacat/amphtml,tlong2/amphtml,chaveznvg/amphtml,laterpay/amphtml,shawnbuso/amphtml,jasti/amphtml,koshka/amphtml,spotxchange/amphtml,alanorozco/amphtml,taboola/amphtml,powdercloud/amphtml,Mobusi-ads/amphtml,yandex-pcode/amphtml,clawr/amphtml,amoad-amoe/amphtml,Meggin/amphtml,sebastianbenz/amphtml,pedjoni8/amphtml,rlugojr/amphtml,yandex-pcode/amphtml,yandex-pcode/amphtml,rifler/amphtml,chaveznvg/amphtml,sharethrough/amphtml,gumgum/amphtml,tlong2/amphtml,sebastianbenz/amphtml,ecoron/amphtml,cory-work/amphtml,widespace-os/amphtml,burtcorp/amphtml,plista/amphtml,DarXector/amphtml,lugray/amphtml,kmh287/amphtml,Meggin/amphtml,DarXector/amphtml,JuliusThms/amphtml,aghassemi/amphtml,amoad-amoe/amphtml,cvializ/amphtml,nekodo/amphtml,jlucero-contentad/amphtml,jasti/amphtml,AaronCritchley/amphtml,BrightcoveOS/amphtml,DistroScale/amphtml,Gregable/amphtml