title: Return true if value matches any value including nested object value
body: <p>I have a nested object which consists of :</p>
  
  <pre><code>var obj = {
    id: 1,
    name: 'Stephen',
    age: 18,
    department: {
      id: 1,
      text: 'Operations'
    }
  }
  </code></pre>
  
  <p>So if I have a string or an array of values that match any of the values including the nested object values in the collection, it will return true. I have tried using <a href="https://lodash.com/docs/4.17.4#includes" rel="nofollow noreferrer"><code>_.includes</code></a> of lodash but I don't know how I can iterate through the nested object.</p>
  
  <p><code>_.includes(obj.department, 'Operations')</code> </p>
  
  <p>What I am trying to do is more like </p>
  
  <p><code>_.includes(obj, ['Stephen', 'Operations'])</code> // return true</p>