def METHOD_NAME(ctx: Context, actor: Actor) -> Optional[str]:
    """
    Extract the author name from user request if present
    Use adapter to insert as a condition or a processing function
    """
    last_request = ctx.last_request
    author_candidate = re.search(AUTHOR_PATTERN, last_request)
    return None if not (x := author_candidate) else x.group()