Allow for checking whether there is any old input

The `$key` parameter was not optional until now.