def METHOD_NAME(
    target_hashes: Union[List[int], int],
    traced_hashes: Union[List[int], int],
    traced_results: Any,
) -> Union[SyftSuccess, SyftError]:
    if target_hashes == traced_hashes:
        msg = "Code Verification passed with matching hashes! Congratulations, and thank you for supporting PySyft!"
        return SyftSuccess(message=msg)
    else:
        msg = (
            f"Hashes do not match! Target hashes were: {target_hashes} but Traced hashes were: {traced_results}. "
            f"Please try checking the logs."
        )
        return SyftError(message=msg)