No, we already checked that it was defined for the right type when we got the first frame.  The partial function is completely controlled by us too - we don't expose this to users, and it only checks whether it's Text or Binary.