isEmpty method

bool isEmpty()

Returns whether this model is empty by testing emptiness of name.

Implementation

bool isEmpty() {
  return name.isEmpty;
}