hasBuffer
Checks if a buffer with the given name exists.
Return
true if a buffer with the given name exists, false otherwise.
Parameters
name
The name of the buffer.
Checks if a buffer with the given name exists by its ID.
Return
true if a buffer with the given AttributeId exists, false otherwise.
Parameters
attrId
The attribute ID of the buffer.