blob: e85cac16adef55235aee7fbf0ada213f97bf636f [file] [log] [blame]
<?php
namespace Adldap\Models\Concerns;
trait HasCriticalSystemObject
{
/**
* Returns true / false if the entry is a critical system object.
*
* @return null|bool
*/
public function isCriticalSystemObject()
{
$attribute = $this->getFirstAttribute($this->schema->isCriticalSystemObject());
return $this->convertStringToBool($attribute);
}
}