cmd_exists universal code
sanity system checks