Was there a reason to not use Groovy truthiness and only use a null check?