title: How to use Lodash to make this mapping simpler?
body: <p>I Have the following object:</p>
  
  <pre><code>var config = {
      apps: false,
      transfers: false,
      approvals: true
  };
  </code></pre>
  
  <p>I want to know how I can use Lodash to go through each of the keys within the <code>config</code> object and find out which key has the first occurrence of value <code>true</code>. In the example above, I expect the output to be <code>approvals</code>. If the value for <code>transfers</code> was <code>true</code>, I expect the output to be <code>transfers</code>.</p>
  
  <p>Basically, I want a more cleaner way to do this:</p>
  
  <pre><code>if (config.apps) {
      answer = 'apps';
  } else if (config.transfers) {
      answer = 'transfers';
  } else if (config.approvals) {
      answer = 'approvals';
  }
  </code></pre>
  
  <p>Thanks!</p>