def isinitialized(register: str, register_copy: dict) -> bool:
    """
    Check if a given register is already initialized.
    :param register: Register to check.
    :param register_copy: Dictionary of existing registers.
    :return: True if register is already initialized.
    """
    try:
        register_copy[register]
        return True
    except KeyError:
        return False