def _to_loc(ll):
    if isinstance(ll, (int, float)) or len(ll) > 0:
        return ll
    else:
        return 0.
Adds an new contact to Google Contacts.
dataset/ETHPy150Open mne-tools/mne-python/mne/io/eeglab/eeglab.py/_to_loc--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/contacts/client.py/ContactsClient.add_contact