def append(displayObject, arr, option):
    if ((option is not None) and displayObject.acceptOption(option['name'])):
        arr.append(option)
def append(displayObject, arr, option):
    if ((option is not None) and displayObject.acceptOption(option['name'])):
        arr.append(option)