def METHOD_NAME(browser, navigator, expected):
    if expected.navigator.plugins['count'][browser.type] == 'IGNORE':
        return
    elif expected.navigator.plugins['value'][browser.type] == 'REAL VALUE':
        assert navigator['plugins'] == browser.real.navigator.plugins
    elif expected.navigator.plugins['value'][browser.type] == 'EMPTY':
        assert not navigator['plugins']
    else:
        assert navigator['plugins'] != browser.real.navigator.plugins