def METHOD_NAME(x: float) -> bool:
    """isinfinite(x) -> bool
    Checks if a value is infinite.
    Arguments:
        x (float): The value to be checked.
    Returns:
        ``True`` if ``x`` is infinite, else ``False``.
    """