delete ()

delete ()
in fact. it can be replaced with a single statement(and usually `count` is effective than `all` in SQL):
`return Register.query.filter_by(email == email).count() > 0`
anyway, your code works, I'll merge in.