saltstack/salt — pull request #5783 by pille (2013-06-27 17:50:40+00:00)
Title: add kmod.is_loaded to check if a kernel module is currently loaded.

this
if salt['kmod.is_loaded']('aacraid')

now obsoletes my workaround:
if salt['cmd.retcode']('lsmod |grep ^aacraid') == 0

in sls files