<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_value(self):
 """ ``True`` if item has a default value or custom value set. """

        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