def is_default(self, key):
    """Returns `True` if the value for the specified key was not supplied by the user.

    I.e. the option was NOT specified config files, on the cli, or in environment variables.

    :param string key: The name of the option to check.
    :returns: `True` if the user did not set the value for this option.
    :rtype: bool
    """
    return (RankedValue.NONE, RankedValue.HARDCODED) in self.get_rank(key)
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/option/option_value_container.py/OptionValueContainer.is_default/swapped operands of `in`