Can Service/Monitoring Contracts be Transferred to a New Homeowner?

Can an ongoing service agreement or security alarm monitoring contract that is paid in advance be transferred to a new homeowner if your original client sells the house? Maybe… but if there is a claim, “it’s a crap shoot” what the court will say