def _use_static_reflect_func(opt):
    """
    Whether a static reflect function is to be used.
    """
    if opt.algorithm == opt.algo_table_driven:
        return False
    elif opt.reflect_out is not None and opt.algorithm == opt.algo_bit_by_bit_fast:
        return False
    else:
        return True