def METHOD_NAME(sch: Schedule, block: BlockRV) -> bool:
    """Check whether the given block is an output block
    Parameters
    ----------
    sch : Schedule
        The schedule object of the block
    block : BlockRV
        The blockRV to be checked
    Returns
    -------
    yes/no : bool
        True if the given block is an output block
    """
    return _ffi_api.IsOutputBlock(sch, block)  # type: ignore