Smalot\Magento\MultiCallQueue::valid PHP Method

valid() public method

(PHP 5 >= 5.0.0)
Checks if current position is valid
public valid ( ) : boolean
return boolean The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.
    public function valid()
    {
        return array_key_exists($this->position, $this->queue);
    }