Contao\Model\Registry::isRegistered PHP Method

isRegistered() public method

Check if a model is registered
public isRegistered ( Model $objModel ) : boolean
$objModel Contao\Model The model object
return boolean True if the model is registered
    public function isRegistered(Model $objModel)
    {
        $intObjectId = spl_object_hash($objModel);
        return isset($this->arrIdentities[$intObjectId]);
    }