add ContextCapabilities.__contains__