Python Check If Something Is A List