def GetControlFlag(controlDR, controlDV, preciseFlag, controlRR, controlRV, controlAltFreq):
    """
    This will ``check if the control sample passes or not``

    :param int controlDR: int representing number of reference reads for control reported by delly
    :param int controlDV: int representing number of variant reads for control reported by delly
    :param str preciseFlag: str representing if an event is precise or imprecise
    :param int controlRR: int representing number of split reference reads for control reported by delly
    :param int controlRV: int representing number of split variant reads for control reported by delly
    :param float controlAltFreq: float representing altratio threshold for control
    :return: A boolean tag indicating True or False
    :rtype: bool

    """
    controlAltAf = 0.0
    controlCovg = 0
    controlFlag = False
    if(controlDR is None):
        controlDR = 0
    if(controlDV is None):
        controlDV = 0
    if(controlRR is None):
        controlRR = 0
    if(controlRV is None):
        controlRR = 0
    if(preciseFlag == "True"):
        if((float(controlRR) != 0.0) or (float(controlRV) != 0.0)):
            controlAltAf = float(controlRV) / float(int(controlRR) + int(controlRV))

    else:
        if((float(controlDR) != 0.0) or (float(controlDV) != 0.0)):
            controlAltAf = float(controlDV) / float(int(controlDR) + int(controlDV))

    if(controlAltAf <= float(controlAltFreq)):
        controlFlag = True
    else:
        controlFlag = False
    return(controlFlag)