Bolt\Storage\Migration\Import::isRecordUnique PHP Method

isRecordUnique() private method

Test is a record already exists.
private isRecordUnique ( string $contenttypeslug, string $slug ) : boolean
$contenttypeslug string
$slug string
return boolean
    private function isRecordUnique($contenttypeslug, $slug)
    {
        $record = $this->app['storage']->getContent("{$contenttypeslug}/{$slug}");
        if (empty($record)) {
            return true;
        }
        return false;
    }