Python Find If Variable Is List