code: def _can_read_timestamps_from_packets(
      container: "av.container.Container",
  ) -> bool:
      extradata = container.streams[0].codec_context.extradata
      if extradata is None:
          return False
      if b"Lavc" in extradata:
          return True
      return False
  
file_path: vision/torchvision/io/video.py
imports: import gc
  import math
  import os
  import re
  import warnings
  from fractions import Fraction
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import torch
  from ..utils import _log_api_usage_once
  from .None import _video_opt
label_desc: Use image node_id 7 for calling a global function with example usage: _can_read_timestamps_from_packets(container) and returns: False, False, True