title: Check if a given moment lies in same week than at least one datestring out of an array of datestrings
body: <p>so in my backbone-app copyCLDRView I try to copy/paste weeks (and the underlying components/data). Or to be a little abstract, "copy one week and the models in the week into another week".</p>
  
  <p>Now I generally want to implement a check if the target-week has at löeast one component on at least one day (targetweek from monday to sunday). To have a check if there are components in the targetweek, I have the following array of datestrings which contains all dates that have components:</p>
  
  <pre><code>        debug("[copyCLDRView::initialize] -&gt; allDaysWithComponents: ", this.allDaysWithComponents);
  </code></pre>
  
  <p>which for example could contain the following values (Datestrings in format DDMMYYYY):</p>
  
  <p>[copyCLDRView::initialize] -> allDaysWithComponents:  ["20042015", "21042015", "22042015", "23042015", "24042015", "27042015", "28042015", "29042015", "30042015", "01052015", "11052015", "12052015", "13052015", "14052015", "15052015", "18052015", "19052015", "20052015", "21052015", "22052015", "25052015", "26052015", "27052015", "28052015", "29052015", "01062015", "02062015", "03062015", "04062015", "05062015"]</p>
  
  <p>Now I have to check if at least one of the logical dates in this array is in the same week than a given Moment.js-object (further called "moment"), which I managed to always be a monday. </p>
  
  <pre><code>paste: function (evt) {
          //this.selected is my momentobject, e.g. Mon May 18 2015 00:00:00 GMT+0200
          if (this.selected &amp;&amp; this.selected !== null) {
              //Here I need the check,
              //Pseudocode: if weekHasComponent(this.selected, alldaysWIthComponents) ...
              this.pasteData(this.selected, this.tmpStorage);
          }
      },
  </code></pre>
  
  <p>So in this example I chose the selected week to be the one starting with 18th of May 2015, now I want my check to return "true" when there is a component in at least one of the days of the week => looking above, it should return true if the array contains <strong>at least one</strong> of the following values: <code>18052015</code>, <code>19052015</code>, <code>20052015</code>, <code>21052015</code>, <code>22052015</code></p>
  
  <p>So I'm asking myself if moment.js could help me out with this comparison here, but I didn't find something yet and hope you could help.</p>
  
  <p>Best regards,
  Dominik</p>