def is_int(val):
    """Check if input is an integer by running `int() <https://docs.python.org/3/library/functions.html#int>`_. If its successful we
    return **True** otherwise returns **False**
    """

    try:
        int(val)
    except ValueError:
        return False
    return True