This fails if `options` is undefined (have a look at the failing test). Also, I would prefer a solution that accepts all truthy values, not only `true` (the property should be a bool, though). The `in` operator is probably the better choice here as well.