Type 1 is not preventable, but detecting it is important as it could arise in infants (half of cases). Consequences are kind of hard if ignored / not detected. Then proper glucose monitoring can be set.
And more generally, detecting glucose level from urine is a bit late for any kind of diabetes. So pretty useless for Type 2 monitoring I think.