def via_sudo():
    return 'SUDO_UID' in os.environ \
        and 'SUDO_GID' in os.environ \
        and 'blueprint' in os.environ.get('SUDO_COMMAND', '')
Return `True` if Blueprint was invoked via `sudo`(8), which indicates
dataset/ETHPy150Open devstructure/blueprint/blueprint/util.py/via_sudo