Checking if the key "input" is set

No more need to disable error reporting :>
Merge pull request #1 from Impyy/master

Checking if the key "input" is set