結果 : check if object has property value javascript