def RepresentsInt(self, s):
    try:
        int(s)
        return True
    except ValueError:
        return False
def RepresentsInt(self, s):
    try:
        int(s)
        return True
    except ValueError:
        return False