rename is_char to check_char

    because type of is_xxx should be true_type or false_type.