'Branch-prune fused type checks like
if fused_t is int:
Returns whether an error was issued and whether we should stop in
in order to prevent a flood of errors.'

def replace_fused_typechecks(self, copied_node):

    num_errors = Errors.num_errors
    transform = ParseTreeTransforms.ReplaceFusedTypeChecks(copied_node.local_scope)
    transform(copied_node)
    if (Errors.num_errors > num_errors):
        return False
    return True
