def is_submitted(self):

        return request and request.method in ("PUT", "POST")
Checks if form has been submitted. The default case is if the HTTP
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/flask_wtf/form.py/Form.is_submitted