Wouldn't it be even simpler to move this check at the beginning of this method ?