WeakRef::valid

( excerpt from http://php.net/manual/en/weakref.valid.php )

Description

public function valid(): bool

( excerpt from http://php.net/manual/en/weakref.valid.php )

Checks whether the object referenced still exists.