Added the check for an input being in a list to the interface.