def verify_number(string):
    """Returns a boolean value on whether a given string is a positive integer."""

    try:
        integer = int(string)
        assert integer > 0
    except (ValueError, AssertionError):
        return False
    return True