title: How to Check FormData is Blank?
body: <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var kdata = new FormData();
           
          $('#tblAttachment tr').each(function(i, row){
              
              // reference all the stuff you need first
              var row = $(row);
              var File = row.find('input[name*="file"]')
              var file = File.get(0).files[0];
              
              if(file != null && checkFileExtension(File.val())){
                  kdata.append('file-' + i.toString(), file);
              } 
          });</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to Check that "kdata" has been initialized or not how to do that</p>
  
  <p>Thanks </p>