clarified nil/zero check in .is_divisible_by