(form)
return form.get('form', {}).get('meta', {}).get('deviceID', None) == 'commconnect'
Checks if something is a commconnect form, by manually inspecting the deviceID property
Checks if something is a commconnect form, by manually inspecting the deviceID property
Checks if something is a commconnect form by manually inspecting the deviceID property
def is_commconnect_form(form):
    """
    Checks if something is a commconnect form, by manually inspecting the deviceID property
    """
    return form.get('form', {}).get('meta', {}).get('deviceID', None) == 'commconnect'
def is_commconnect_form ( form ) : return form . get ( 'form' , { } ) . get ( 'meta' , { } ) . get ( 'deviceID' , None ) == 'commconnect'