```
const ACCEPTABLE_ITEMS = {
    APPLE: true,
    ORANGE: true,
    MANGO: true
};

```

`myItems` might look like this:

```
{
  apple: true,
  orange: true,
  mango: true,
  grapes: true,
  carrots: true
}

```

I want to filter out myItems so that it only includes the properties mentioned in `ACCEPTABLE_ITEMS`. How can I do this with lodash?

I tried doing something like this, but it's not right I think:

```
myItems = _.filter(myItems, (i) => {return ACCEPTABLE_ITEMS[i];});

```