code: def voted_me_witness(self, account=None, limit=100):
          ''' Fetches all those a given account is
          following and sees if they have voted that
          account as witness.
          '''
          if not account:
              account = self.mainaccount
          self.has_voted = []
          self.has_not_voted = []
          following = self.following(account, limit)
          for f in following:
              wv = self.account(f)['witness_votes']
              voted = False
              for w in wv:
                  if w == account:
                      self.has_voted.append(f)
                      voted = True
              if not voted:
                  self.has_not_voted.append(f)
          return self.has_votef voted_me_witness(self, account=None, limit=100):
          ''' Fetches all those a given account is
          following and sees if they have voted that
          account as witness.
          '''
          if not account:
              account = self.mainaccount
          self.has_voted = []
          self.has_not_voted = []
          following = self.following(account, limit)
          for f in following:
              wv = self.account(f)['witness_votes']
              voted = False
              for w in wv:
                  if w == account:
                      self.has_voted.append(f)
                      voted = True
              if not voted:
                  self.has_not_voted.append(f)
          return self.has_voted
docs: Fetches all those a given account is
          following and sees if they have voted that
          account as witness.