from typing import List


def is_empty(stack: List[str]) -> bool:
    """
    Check if a stack is empty.
    We add this custom method, as Python does not have a built-in is_empty() method.

    :param stack: is the stack to inspect.
    :return: a boolean value determining whether the stack is empty or not.
    """
    return len(stack) == 0