(sdc_header)
return title.strip() == SDC_USR_GUIDE_HEADING_STR and text.strip().startswith(SDC_USER_GUIDE_PANDAS_STR)
Checks whether a given title-text tuple forms valid Intel SDC header for User Guide.

    The header is expected to be 4 lines long, where the first three lines are of the form:
        Intel Scalable Dataframe Compiler User Guide
        ********************************************
        Pandas API: <pandas API name>
    The fourth line must be empty

    :param sdc_header: Tuple (title, text)
    :return: True if sdc_header forms valid Intel SDC User Guide docstring header
Checks whether a given title-text tuple forms valid Intel SDC header for User Guide.
Checks whether a given title - text tuple forms valid Intel SDC header for User Guide .
def is_sdc_user_guide_header(sdc_header):
    """
    Checks whether a given title-text tuple forms valid Intel SDC header for User Guide.

    The header is expected to be 4 lines long, where the first three lines are of the form:
        Intel Scalable Dataframe Compiler User Guide
        ********************************************
        Pandas API: <pandas API name>
    The fourth line must be empty

    :param sdc_header: Tuple (title, text)
    :return: True if sdc_header forms valid Intel SDC User Guide docstring header
    """
    title, text = sdc_header
    return title.strip() == SDC_USR_GUIDE_HEADING_STR and text.strip().startswith(SDC_USER_GUIDE_PANDAS_STR)
def is_sdc_user_guide_header ( sdc_header ) : title , text = sdc_header return title . strip ( ) == SDC_USR_GUIDE_HEADING_STR and text . strip ( ) . startswith ( SDC_USER_GUIDE_PANDAS_STR )