def _encode_Bool_Flag(bBoolFlag : bool) -> int:
    """
    Description
    -----------
    Method encoding a bool value into an integer flag.

    Parameters
    ----------
    `bBoolFlag` : bool
        Boolean flag which should be converted into an integer value

    Return
    ------
    `iEncodedFlag` : int
        Boolean flag encoded as integer (0 : True | 1 : False)

    """
    if (bBoolFlag == True):
        return 1
    elif (bBoolFlag == False):
        return 0