from typing import Sequence


def _should_ignore_markdown_cell(
    source: Sequence[str],
    skip_celltags: Sequence[str],
    tags: Sequence[str],
) -> bool:
    """
    Return True if the current cell should be ignored from processing.

    Parameters
    ----------
    source
        Source from the notebook cell

    Returns
    -------
    bool
        True if the cell should ignored else False
    """
    joined_source = "".join(source)
    if not joined_source or set(tags).intersection(skip_celltags):
        return True
    return False