add ContextCapabilities.__contains__ -- flake8