@real_memoize
def is_proxy():
 import __main__ as main
 is_proxy = False
 try:
  if ('salt-proxy' in main.__file__):
   is_proxy = True
 except AttributeError:
  pass
 return is_proxy

@ real_memoize def is_proxy ( ) : import __main__ as main is_proxy = False try : if ( 'salt-proxy' in main . __file__ ) : is_proxy = True except AttributeError : pass return is_proxy
return true if this minion is a proxy minion .