def _framework_obj(self, framework):
        """Returns the Framework object corresponding to the provided `framework`
        dict.  Creates it if it doesn't exist already.

        :param framework: framework
        :type framework: dict
        :returns: Framework
        :rtype: Framework
        """

        if self._frameworks not in framework['id']:
            self._frameworks[framework['id']] = Framework(framework, self)
        return self._frameworks[framework['id']]
dataset/ETHPy150Open dcos/dcos-cli/dcos/mesos.py/Master._framework_obj/swapped operands of `not in`