def has_root():
    return (os.geteuid() == 0)
Check to ensure that everything is alright about an object to be created.
dataset/ETHPy150Open cloudmatrix/esky/esky/sudo/sudo_osx.py/has_root--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/constraints.py/check_object_creation