Lots of unkown

 From:  Michael Gibson
8665.208 In reply to 8665.207 
Hi Tudor, if the input has never been initialized with any value, it will throw an "operation failed" exception.

So you would need something like:

var gotvalue = false;
var value;

try {
value = input.getValue();
gotvalue = true;
} catch(e){}

- Michael