docs: def _check_type(self, check_type, properties):
          """Decode a properties type looking for a specific type."""
          if 'PrimitiveType' in properties:
              return properties['PrimitiveType'] == check_type
          if properties['Type'] == 'List':
              if 'ItemType' in properties:
                  return properties['ItemType'] == check_type
              else:
                  return properties['PrimitiveItemType'] == check_type
          return False