code: def check_token(token: str) -> bool:
      
      if any(x.isspace() for x in token):
          raise exceptions.ValidationError('Token is invalid!')
  
      left, sep, right = token.partition(':')
      if (not sep) or (not left.isdigit()) or (len(left) < 3):
          raise exceptions.ValidationError('Token is invalid!')
  
      return True
docs: Validate BOT token
  
      :param token:
      :return: