def METHOD_NAME(s):
    "determine if string is 'idX' where X is an integer"
    if s.startswith('id') and len(s) > 2:
        isint = False
        try:
            isint = int(s[2:]) is not None
        except ValueError:
            isint = False
        return isint