def isBool(value):
    """
    Helper function to detect if a value is boolean
    """
    if value != "":
        if isinstance(value, bool):
            return True
        else:
            return False
    else:
        return False