<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def monitor(self, name, ip, port, quorum):
 """Add a new master to Sentinel to be monitored."""

        fut = self.execute(b'MONITOR', name, ip, port, quorum)
        return wait_ok(fut)