[locinfo.py] check if is instance of list.