Input value check

Added a way to check if the input has been provided with value.
Better than making client check if the getValue() is null because the input could have been provided with the null value.