To decrease indentation, and improve usage, I would rewrite this as follows:

```python
    def execute(self, rc):
        if rc.skiptypes is NotSpecified:
            return
        print("typefilter: removing unwanted types from desc dictionary")
        if isinstance(rc.skiptypes, collections.Mapping):
            skip_classes = rc.skiptypes.keys()
```