          """
          if not frame_name:
              retval = False
          else:
              retval = bool(len(self._data.get(frame_name, dict()).get("faces", [])) > 1)
          logger.trace("'%s': %s", frame_name, retval)
          return retval
  
      def mask_is_valid(self, mask_type):
          """ Ensure the given ``mask_type`` is valid for the alignments :attr:`data`.
 
</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         logger.trace("BlurMask kwargs: %s", retval)
 </s> add         logger.trace("BlurMask kwargs: %s", retval)  # type: ignore </s> remove     def _get_kwargs(self):
 </s> add     def _get_kwargs(self) -> Dict[str, Union[int, Tuple[int, int]]]: </s> remove _HASHES_SEEN = dict()
 </s> add _HASHES_SEEN: Dict[str, Dict[str, int]] = {}
            retval = bool(len(self._data.get(frame_name, {}).get("faces", [])) > 1)
          """
          if not frame_name:
              retval = False
          else:
            retval = bool(len(self._data.get(frame_name, {}).get("faces", [])) > 1)
          logger.trace("'%s': %s", frame_name, retval)
          return retval
  
      def mask_is_valid(self, mask_type):
          """ Ensure the given ``mask_type`` is valid for the alignments :attr:`data`.
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