Checks and returns valid input from YAML input definition.
guess.input(input)
input
a named list containing input definition