'Check if it is okay to chain more options onto this cursor.'

def __check_okay_to_chain(self):

    if (self.__retrieved or (self.__id is not None)):
        raise InvalidOperation('cannot    set    options    after    executing    query')
