      @property
      def has_thumbnails(self):
          """ bool: ``True`` if all faces in the alignments file contain thumbnail images
          otherwise ``False``. """
          retval = all("thumb" in face
                       for frame in self._alignments_dict.values()
                       for face in frame["faces"])
          logger.trace(retval)
          return retval
  
 
</s> remove         retval = bool(self._data.get(frame_name, dict()).get("faces", []))
 </s> add         retval = bool(self._data.get(frame_name, {}).get("faces", [])) </s> remove         retval = len(self._data.get(frame_name, dict()).get("faces", []))
 </s> add         retval = len(self._data.get(frame_name, {}).get("faces", [])) </s> remove     def _get_kwargs(self):
 </s> add     def _get_kwargs(self) -> Dict[str, Union[int, Tuple[int, int]]]: </s> remove         logger.trace(retval)
 </s> add         logger.trace(retval)  # type: ignore
        retval = all(face.get("thumb")
      @property
      def has_thumbnails(self):
          """ bool: ``True`` if all faces in the alignments file contain thumbnail images
          otherwise ``False``. """
        retval = all(face.get("thumb")
                       for frame in self._alignments_dict.values()
                       for face in frame["faces"])
          logger.trace(retval)
          return retval
  
keep keep keep keep replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
lib/align/alignments.py