def lookup_drivers_license_for_person(transaction_executor, person_id):
    """
    Query drivers license table by person ID.

    :type transaction_executor: :py:class:`pyqldb.execution.executor.Executor`
    :param transaction_executor: An Executor object allowing for execution of statements within a transaction.

    :type person_id: str
    :param person_id: The person ID to check.

    :rtype: :py:class:`pyqldb.cursor.stream_cursor.StreamCursor`
    :return: Cursor on the result set of a statement query.
    """
    query = 'SELECT * FROM DriversLicense AS d WHERE d.PersonId = ?'
    cursor = transaction_executor.execute_statement(query, person_id)
    return cursor