def deco(dec, condition):
    """
    Set the function a decorator if the
    condition is True else ignore.

    Parameters:
        decorator (Function):
            A decorator function
        
        condition (bool):
            The codition inorder to set the decorator.

    """

    def wrapper(func):
        if not condition:
            #: Ignore the decorator.
            return func

        return dec(func)

    return wrapper