Aerospike\LDT\LDT::isLDT PHP Method

isLDT() public method

Checks whether there actually is an LDT at the key and bin the class was initialized with.
public isLDT ( ) : boolean
return boolean
    public function isLDT()
    {
        $status = $this->client->apply($this->key, $this->module, 'ldt_exists', array($this->bin), $returned);
        $this->processStatusCode($status);
        if ($status !== Aerospike::OK) {
            return false;
        } else {
            return (bool) $returned;
        }
    }