Allow for checking whether there is any old input by making parameter optional.
Merge pull request #1581 from franzliedke/patch-9

Allow for checking whether there is any old input
Merge branch '4.0'