Aerospike\LDT\LDT::isValid PHP Method

isValid() public method

Validates whether the LDT at the specified key and bin is in good shape
public isValid ( ) : boolean
return boolean
    public function isValid()
    {
        $status = $this->client->apply($this->key, $this->module, 'ldt_validate', array($this->bin), $returned);
        $this->processStatusCode($status);
        if ($status !== Aerospike::OK) {
            return false;
        } else {
            return (bool) $returned;
        }
    }