
    Create a function for an automated writing assessment system that identifies any words containing the letter 'z' in a student's submitted essay, enabling teachers to evaluate vocabulary usage and spelling patterns. The function should scan through the entire text and detect all instances where a student has incorporated words containing 'z', regardless of the word's position or length.
    

    
import re

def text_match_wordz(text):
    """
    Create a function for an automated writing assessment system that identifies any words containing the letter 'z' in a student's submitted essay, enabling teachers to evaluate vocabulary usage and spelling patterns. The function should scan through the entire text and detect all instances where a student has incorporated words containing 'z', regardless of the word's position or length.
    

    """
import re

def text_match_wordz(text):
    """
    Create a function for an automated writing assessment system that identifies any words containing the letter 'z' in a student's submitted essay, enabling teachers to evaluate vocabulary usage and spelling patterns. The function should scan through the entire text and detect all instances where a student has incorporated words containing 'z', regardless of the word's position or length.
    

    """
    patterns = '\\w*z.\\w*'
    if re.search(patterns, text):
        return True
    else:
        return False