def is_on_gamepass(game_page):
    """
    Check if a game is on Game Pass given its game page from the store
    """

    game_pass_ultimate_label = "Included with Xbox Game Pass Ultimate"
    ea_play_label = "Included with EA Play"

    if game_pass_ultimate_label in game_page.text or ea_play_label in game_page.text:
        return True

    return False