<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def value(self):
 """Read-only property containing data returned from function."""

        if self.ready is True:
            flag, load = self.__queue.get()
            if flag:
                return load
            raise load