title: How to check if each objects in array contains certain value
body: <p>I need to check if each object in array contains a certain same value.
  I could do it with for loop, but i was wondering is it possible to do it with one line of code.
  Let's say I have objects</p>
  <pre class="lang-js prettyprint-override"><code>    employees = [
             {
              n: 'case 1',
              date: '2021-05-4',
              id: '123',
              user: [{name: 'Vlad', id: '1'}, {name: 'Misha', id: '2'}],
              isPresent : true,
             },
             {
              caseName: 'case 2',
              date: '2021-05-4',
              id: '123',
              user: [{name: 'Alina', id: '3'}, {name: 'Alex', id: '4'}],
              isPresent : true,
             },
             {
              caseName: 'case 3',
              date: '2021-05-4',
              id: '123',
              user: [],
              isPresent : true,
             },
          ]
  </code></pre>
  <p>And my task is to check if all employees are present, so I need to get <code>true</code> if <code>isPresent</code> property assigned <code>true</code> for each object.
  But have to do it with one live something like</p>
  <pre><code>let employeesPresent = employees(item =&gt; item.isPresent === true); ​
  </code></pre>