結果 : check if object is boolean python