How about `!!(value.permissions & OC.PERMISSION_CREATE)`?