src/objects/Pool.php
public final function has($id): bool
    {
        if (is_object($id)) {
            $id = spl_object_hash($id);
            foreach ($this->objects as $object) {
                if ($object[0] == $id) { return true; }
            }
            return false;
        }

        return isset($this->objects[$id]);
    }
public final function has($id): bool
    {
        if (is_object($id)) {
            $id = spl_object_hash($id);
            foreach ($this->objects as $object) {
                if ($object[0] == $id) { return true; }
            }
            return false;
        }

        return isset($this->objects[$id]);
    }
Has.
@param  int|string|object $id
@return bool