Metadata file - validation


we implement an option to login to our app via okta saml sso

as part of the flow, (for now till the app will be verified)
how can i verify that the metadata file i get is a valid metadata XML and related to okta and don’t some other sso provider or invalid formatted?