async def puzzle_hash_exists(self, puzzle_hash: bytes32) -> bool:
    '\n        Checks if passed puzzle_hash is present in the db.\n        '
    cursor = (await self.db_connection.execute('SELECT * from derivation_paths WHERE puzzle_hash=?', (puzzle_hash.hex(),)))
    row = (await cursor.fetchone())
    (await cursor.close())
    return (row is not None)
Checks if passed puzzle_hash is present in the db.
async def puzzle_hash_exists(self, puzzle_hash: bytes32) -> bool:
    '\n        \n        '
    cursor = (await self.db_connection.execute('SELECT * from derivation_paths WHERE puzzle_hash=?', (puzzle_hash.hex(),)))
    row = (await cursor.fetchone())
    (await cursor.close())
    return (row is not None)