@decorators.memoize
def _check_xbps():
 return salt.utils.which('xbps-install')

@ decorators . memoize def _check_xbps ( ) : return salt . utils . which ( 'xbps-install' )
looks to see if xbps-install is present on the system .