code: def isSubtitle(self):
          
          val=False
          if self.__dict__['codec_type']:
              if str(self.codec_type)=='subtitle':
                  val=True
          return val
docs: Is the stream labelled as a subtitle stream.