def _is_hidden(field):
    if isinstance(field, HiddenField):
        return True
    if isinstance(field.widget, HiddenInput):
        return True
    return False
Detect if the field is hidden.
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/flask_wtf/form.py/_is_hidden