Allow Input::has to be passed an array
Clean up code.
Improved random