code: def getbit(self, key, offset):
          
          if not isinstance(offset, int):
              raise TypeError("offset argument must be int")
          if offset < 0:
              raise ValueError("offset must be greater equal 0")
          return self.execute(b'GETBIT', key, offset)
docs: Returns the bit value at offset in the string value stored at key.
  
          :raises TypeError: if offset is not int
          :raises ValueError: if offset is less than 0