Python Check If Input Is In A List