def is_int_like(val):
 try:
  return (str(int(val)) == str(val))
 except Exception:
  return False

def is_int_like ( val ) : try : return ( str ( int ( val ) ) == str ( val ) ) except Exception : return False
check if a value looks like an int .