.length === 0
This pattern comes of often during review, so let's fix it once and for all. Did not test, but changes are trivial enough imho.