Just use `if 'ENGINE' in values`, since if that's `True`, then `values` must be truthy as well.

Also, probably log a warning if `ENGINE` isn't in `values`.