func IsLangInCaptions(lang string, ext string, captions []*models.SceneCaption) bool {
	for _, caption := range captions {
		if lang == caption.LanguageCode && ext == caption.CaptionType {
			return true
		}
	}
	return false
}
// IsLangInCaptions returns true if lang is present
// in the captions
IsLangInCaptions returns true if lang is present
in the captions
// IsLangInCaptions returns true if lang is present // in the captions
func IsLangInCaptions(lang string, ext string, captions []*models.SceneCaption) bool {
	for _, caption := range captions {
		if lang == caption.LanguageCode && ext == caption.CaptionType {
			return true
		}
	}
	return false
}
func IsLangInCaptions ( lang string , ext string , captions [ ] * models . SceneCaption ) bool { for _ , caption := range captions { if lang == caption . LanguageCode && ext == caption . CaptionType { return true } } return false }
IsLangInCaptions returns true if lang is present
in the captions
IsLangInCaptions returns true if lang is present in the captions