trigger alert if button clicked and conditions not met

trigger alert if button clicked and conditions not met

Can't get this to work correctly. I need to run an alert if the user clicks the button "#step0Next" and none of the var ckd button's are checked

$("#step0Next").click(function(event) {
                var ckd = ['AMX1N','BMFNP','BMFNB','CFE1N','CBEXR','CBT1','CBTQL','CME1','CMEQL','CMX1','DCMX1','DMERT','DMEDL','ERX1N','ERXXN','EXC1N','EXD1N','EXR1N','EXI1N','IPE1','KCB1','LME1','DLME1','MPL1','NDQ1N','NDQL2','CEC1','ICEFI','NYM1','DNYM1','NYMQL','NYS1N','NYSLM','PNK1P','PNK2N','SMX1','CNC1N','CNS1N','MTL1N','MTL2N','MTN1N','MTN2N','WEA1'];
                if($("#MKDPT").is(":checked") && ckd.length > 0;) {
                    alert('foo');
                }
            });

Kane Leins