I’ve never seen tokens of anything other than the typical length, but the token length seems to be variable.
Anyway, you can check the token status using the following methods, so try one of them.
from huggingface_hub import HfApi
api = HfApi()
me = api.whoami(token="hf_xxx") # raises on invalid tokens
print(me)
Or
# prints 200 if valid, 401 if not
curl -s -o /dev/null -w "%{http_code}\n" https://huggingface.co/api/whoami-v2 \
-H "Authorization: Bearer $HF_TOKEN"