@classmethod
    def is_deployable(cls, instance):
        """Returns whether a given release deployable or not.

        :param instance: a Release instance
        :returns: True if a given release is deployable; otherwise - False
        """
        if instance.state == consts.RELEASE_STATES.unavailable:
            return False

        # in experimental mode we deploy all releases
        if settings.VERSION['feature_groups'] in 'experimental':
            return True

        return instance.state == consts.RELEASE_STATES.available
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/objects/release.py/Release.is_deployable/swapped operands of `in`