LdapTools\Connection\PageControl::isActive PHP Method

isActive() public method

Returns whether or not a paging operation is active based on the status of the paging cookie (omnomnom).
public isActive ( ) : boolean
return boolean
    public function isActive()
    {
        $active = $this->cookie !== null && $this->cookie != '';
        if ($this->sizeLimit && $this->sizeLimit === $this->pageSize) {
            $active = false;
        }
        return $active;
    }