Reduce import scopes, remove cycles.
[python_utils.git] / misc_utils.py
1 #!/usr/bin/env python3
2
3 import os
4
5 def is_running_as_root() -> bool:
6     return os.geteuid() == 0