def is_table_taxa_alike(feature_table1, feature_table2):
    """This method checks if `feature_table2` instance contains same taxonomy
    as `feature_table1`

    Parameters
    ----------
    feature_table1
        First FeatureTable
    feature_table2
        Second FeatureTable

    Returns
    -------
    bool
        True if taxonomies are same. False otherwise
    """
    feature_table1_lineage_sorted = (
        feature_table1.taxonomy.loc[:, "lineage"]
        .sort_values(axis=0)
        .reset_index(drop=True)
    )
    feature_table2_lineage_sorted = (
        feature_table2.taxonomy.loc[:, "lineage"]
        .sort_values(axis=0)
        .reset_index(drop=True)
    )
    return feature_table1_lineage_sorted.equals(feature_table2_lineage_sorted)