<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_possible_token(token, token_length=6):
 """Determines if given value is acceptable as a token. Used when validating tokens. Currently allows only numeric tokens no longer than 6 chars. :param token: token value to be checked :type token: int or str :param token_length: allowed length of token :type token_length: int :return: True if can be a candidate for token, False otherwise :rtype: bool True True False False """

    if not isinstance(token, bytes):
        token = six.b(str(token))
    return token.isdigit() and len(token) <= token_length