isEmpty

Checks whether this weak reference has been cleared.

If this function returns true, calling read will return null.

See also

Read the current value.