code: def check_master(self):
          '''
          Log if the master is not running
  
          :rtype: bool
          :return: Whether or not the master is running
          '''
          if not os.path.exists(
                  os.path.join(
                      self.opts['sock_dir'],
                      'publish_pull.ipc'
                      )
                  ):
              return False
          return Truf check_master(self):
          '''
          Log if the master is not running
  
          :rtype: bool
          :return: Whether or not the master is running
          '''
          if not os.path.exists(
                  os.path.join(
                      self.opts['sock_dir'],
                      'publish_pull.ipc'
                      )
                  ):
              return False
          return True
docs: Log if the master is not running
  
          :rtype: bool
          :return: Whether or not the master is running