```scss
@if map-has-key($transition-map, duration) {
  // ...
}
```