def encode(self, string):
        if isinstance(string, unicode):
            string = string.encode(self.encoding)
        return string
Checks if form has been submitted. The default case is if the HTTP
dataset/ETHPy150Open sassoftware/conary/conary/dbstore/base_drv.py/BaseCursor.encode--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/flask_wtf/form.py/Form.is_submitted