def is_running_as_root():
    '\n    References:\n        http://stackoverflow.com/questions/5721529/running-python-script-as-root\n        http://stackoverflow.com/questions/2806897/checking-script-has-root\n    '
    return (os.getenv('USER') == 'root')
References:
    http://stackoverflow.com/questions/5721529/running-python-script-as-root
    http://stackoverflow.com/questions/2806897/checking-script-has-root
def is_running_as_root():
    '\n    References:\n        http://stackoverflow.com/questions/5721529/running-python-script-as-root\n        http://stackoverflow.com/questions/2806897/checking-script-has-root\n    '
    return (os.getenv('USER') == 'root')