AppserverIo\Appserver\Core\Traits\ThreadedContextTrait::hasAttribute PHP 메소드

hasAttribute() 공개 메소드

Queries whether the attribute already exists or not.
public hasAttribute ( string $key ) : boolean
$key string The attribute to query for
리턴 boolean TRUE if the attribute already exists, else FALSE
    public function hasAttribute($key)
    {
        return isset($this[$this->maskKey($key)]);
    }