def isInAssociation(element, iterable):
    """
    A wrapper for 'is in' which returns true if `iterable` is None

    If `iterable` is None, then we accept all elements
    """
    if iterable is None:
        return True
    if type(iterable) is str:
        return element['Moving group'] == iterable
    return element['Moving group'] in iterable