import math


def is_triangle_number(number: int) -> bool:
    """Check if a given number `number` is a triangle number of the form 1/2 * n * (n+1)."""
    return ((math.sqrt(8*number + 1) - 1) / 2.0).is_integer()