def epc_calc_dual_phase(reg_dict):
    """
    Returns True if dual phase mode is enabled, False otherwise

    Parameters
    ----------
    reg_dict : dict
        The dictionary that contains all the register information

    Returns
    ----------
    bool
        True if dual phase enabled, false otherwise
    """
    dual_phase = (reg_dict["mod_sel"][2] == 0) and (
        reg_dict["num_dcs"][2] == 1) and (reg_dict["pixel_mode"][2] == 1) and (reg_dict["dual_int_mode"][2] == 1)
    return dual_phase