Use .empty() instead of .size() for (potential) performance.