parameters: (value)
return_statement: return is_ascii
docstring: check if a value is ASCII
docstring_summary: check if a value is ASCII
docstring_tokens: check if a value is ASCII
function: def is_ascii(value):
          '''check if a value is ASCII'''
          is_ascii = True   
          try:
              value.encode('ascii')
          except UnicodeEncodeError:
              is_ascii = False
          except Exception as e:
              is_acii = False
          else:
              is_ascii = True
  
          return is_ascii
function_tokens: def is_ascii ( value ) : is_ascii = True try : value . encode ( 'ascii' ) except UnicodeEncodeError : is_ascii = False except Exception as e : is_acii = False else : is_ascii = True return is_ascii