def _is_int(string):
    """Returns true or false depending on whether or not the passed in string can be converted to an int"""
    result = False
    try:
        value = int(string)
        result = True
    except ValueError:
        result = False

    return result