```python
if set(cf_variable.dimensions).issubset(cf_var.dimensions):
    ...
```
is a little more readable.