Also would be great if you extracted this conditional to a method with a meaningful name.