def is_protected_type(obj):
    return isinstance(obj, (
        types.NoneType,
        int, long,
        datetime.datetime, datetime.date, datetime.time,
        float, Decimal)
    )
Creates a new instance of the Safari driver.
dataset/ETHPy150Open bendavis78/python-gitmodel/gitmodel/utils/encoding.py/is_protected_type--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/selenium/webdriver/safari/webdriver.py/WebDriver.__init__