Tests whether memory allocation for a set was successful.
A set
true if allocation succeeded, false otherwise
Tests whether memory allocation for a set was successful.