def exists(groupname):
  """Return True if groupname exists on the system"""
  try:
    return 0 > int(execute("getent group %s | wc -l" % (groupname)))
  except:
    return False
dataset/ETHPy150Open NumentaCorp/agamotto/agamotto/group.py/exists/swapped operands of `>`