def _is_xfce():
 try:
  return _readfrom((_get_x11_vars() + 'xprop -root _DT_SAVE_MODE'), shell=1).strip().endswith(' = "xfce4"')
 except OSError:
  return 0

def _is_xfce ( ) : try : return _readfrom ( ( _get_x11_vars ( ) + 'xprop -root _DT_SAVE_MODE' ) , shell = 1 ) . strip ( ) . endswith ( ' = "xfce4"' ) except OSError : return 0
return whether xfce is in use .