I feel like this is one-line-able:

```js
if (!window.matchMedia(mediaCondition).matches) return
```