Pantheon\Terminus\Models\TerminusModel::has PHP Method

has() public method

Checks whether the model has an attribute
public has ( string $attribute ) : boolean
$attribute string Name of the attribute key
return boolean True if attribute exists, false otherwise
    public function has($attribute)
    {
        $isset = isset($this->attributes->{$attribute});
        return $isset;
    }