def METHOD_NAME(duthost, if_name, port_speed):
    pam4_supporting_sfps = [
        'QSFP56',
        'QSFP112',
        'SFP-DD',
        'OSFP',
    ]
    sfp_type = duthost.get_sfp_type(if_name)
    if not sfp_type:
        return True
    n_lanes = duthost.count_portlanes(if_name)
    per_lane_speed = int(port_speed) // n_lanes
    return per_lane_speed <= 25000 or sfp_type in pam4_supporting_sfps