checks for token existance