fn check_properties_valid(
    struct_ident: &Ident,
    properties: &FxHashMap<Ident, ObjectRef>,
    template: &IndexMap<Ident, ClassRef, BuildHasherDefault<FxHasher>>
) -> Result<(), LangErrorKind>