in Kubernetes/linux/manifest/generate.py [0:0]
def is_int(x): try: y = int(x) return True except ValueError: return False