check for token in books index