Should this conditional be moved into a method?