Detect when nothing was filled in form
   Don't perform the action if nothing was done
A ready-built contextmanager for use in ipython