def has(self, name):
        """
        Returns whether there is a value for the given field name.
        """

        if not "." in name:
            return self.__data in name

        splits = name.split(".")
        current = self.__data

        for split in splits:
            if split in current:
                current = current[split]
            else:
                return False

        return True
dataset/ETHPy150Open zynga/jasy/jasy/core/Config.py/Config.has/swapped operands of `in`