code: def fit_size(min_length: int = 0, max_length: int = None,
               message=None) -> Filter_T:
      
  
      def validate(value):
          length = len(value) if value is not None else 0
          if length < min_length or \
                  (max_length is not None and length > max_length):
              _raise_failure(message)
          return value
  
      return validate
docs: Validate any sized object to ensure the size/length
      is in a given range [min_length, max_length].