import re


def is_author(author: str, text: str, blame: str) -> bool:
    """Determine if an author authored the given text."""
    for line in blame.splitlines():
        if re.match(f".*{author}.+{text}", line):
            return True
    return False