def has_value(self):
<EOL>from .osid_errors import IllegalState<EOL>if self._kwargs['<STR_LIT>'] not in ['<STR_LIT>']:<EOL><INDENT>raise IllegalState()<EOL><DEDENT>else:<EOL><INDENT>return self._kwargs['<STR_LIT:value>']<EOL><DEDENT>
Tests if this data element has a set non-default value.

        return: (boolean) - ``true`` if this element value has been set,
                ``false`` otherwise
        raise:  IllegalState - ``is_value_known()`` is ``false``
        *compliance: mandatory -- This method must be implemented.*