
isTypeSupportedOrEmpty is very specific and a little hard to understand unless you know the one thing it's useful for. This commit replaces it with isTypeSupported, which can be used in conjunction with the recently added containsType method. PiperOrigin-RevId: 429312712