Craft\Neo_BlockTypeModel::isNew PHP Method

isNew() public method

Determine if the block is not already saved in the database.
public isNew ( ) : boolean
return boolean
    public function isNew()
    {
        return !$this->id || strncmp($this->id, 'new', 3) === 0;
    }