Xpressengine\Support\Entity::isGuarded PHP Method

isGuarded() public method

Determine if the given key is guarded.
public isGuarded ( string $key ) : boolean
$key string key name
return boolean
    public function isGuarded($key)
    {
        return in_array($key, $this->guarded) || $this->guarded == ['*'];
    }