def check(jail=None,
          chroot=None,
          depends=False,
          recompute=False,
          checksum=False):
    if not any((depends, recompute, checksum)):
        return 'One of depends, recompute, or checksum must be set to True'

    opts = ''
    if depends:
        opts += 'dy'
    if recompute:
        opts += 'r'
    if checksum:
        opts += 's'

    cmd = _pkg(jail, chroot)
    cmd.append('check')
    if opts:
        cmd.append('-' + opts)
    return __salt__['cmd.run'](
        cmd,
        output_loglevel='trace',
        python_shell=False
    )
Drop database tables
dataset/ETHPy150Open saltstack/salt/salt/modules/pkgng.py/check--crossover with--dataset/ETHPy150Open hasgeek/coaster/coaster/manage.py/drop