def is_device(cur, device_uuid):
    """
    Simple check to see if device exists
    :param cur: cursor
    :param device_uuid: uuid - name of device
    :return: True/False
    """
    sql_command = (
        f"SELECT EXISTS ( SELECT 1 FROM devices WHERE device_uuid='{device_uuid}')"
    )
    cur.connection.rollback()
    cur.execute(sql_command)
    return cur.fetchone()[0]