def METHOD_NAME(cls):
    pp_type = PolyPointerType(
        FieldPath(), Optional[PolyPointer[Lowest]], DataclassStruct
    )
    pp_lowest = pp_type.from_bytes(
        SUPREME_POINTER_BYTES, MemContext(LOWEST_BYTES_READER)
    )
    assert pp_lowest is not None
    expected_val = Lowest(1, 2, 3)
    cast_val = pp_lowest.as_type(cls)
    assert cast_val == expected_val
    pp_poly = pp_lowest.as_poly_type(cls)
    assert pp_poly is not None
    assert pp_poly.addr == SUPREME_POINTER_ADDR
    assert pp_poly.value == expected_val