code: def has_value(self):
          
          if self._get_envvar_value() is not not_set:
              return True
          else:
              return self.default is not not_set or self._value is not not_set
docs: ``True`` if item has a default value or custom value set.