def METHOD_NAME(app, what, name, obj, options, lines):
    """Remove feature maturity info if there are starting and ending tags.
    Note: This method modifies lines in place per sphinx documentation.
    """
    feature_maturity_info_start = None
    feature_maturity_info_end = None
    for idx, line in enumerate(lines):
        if FEATURE_MATURITY_INFO_TAG in line:
            if feature_maturity_info_start is None:
                feature_maturity_info_start = idx
            else:
                feature_maturity_info_end = idx
    if feature_maturity_info_start and feature_maturity_info_end:
        del lines[feature_maturity_info_start : feature_maturity_info_end + 1]