def _use_inline_crc_finalize(opt):
    """
    Return True if the init function can be inlined.
    """
    if opt.algorithm in set([opt.algo_bit_by_bit_fast, opt.algo_table_driven]
        ) and (opt.width is not None and opt.reflect_in is not None and opt
        .reflect_out is not None and opt.xor_out is not None):
        return True
    else:
        return False
