### Godot version

31eccb5501

### System information

Windows 10

### Issue description

Some strange code fragments found in the code. I do not know if these are actual bugs.

1. Identical expression `array->get_typed_class_name() == native_type` on both sides of `&&` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L777
2. Identical expression `array->get_typed_class_name() != native_type` on both sides of `||` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L1255
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L1255
3. Identical expression `pose.orientation.y != 0` on both sides of `||` operator (perhaps one of these should be `pose.orientation.z != 0`?):
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/openxr/scene/openxr_hand.cpp#L219
4. Identical expression `a.lower` on both sides of `-` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/thirdparty/embree/kernels/bvh/bvh_node_obb_mb.h#L55
5. Identical expression `font_main.is_valid()` on both sides of `&&` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/editor/import/dynamic_font_import_settings.cpp#L861
6. Identical expression `bold_font.is_valid()` on both sides of `&&` operator:
7. https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/editor/import/dynamic_font_import_settings.cpp#L1095
8. Variable `scansym_map[0x57]` assigned twice:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/platform/windows/key_mapping_windows.cpp#L318-L319
9. 'if'-statement is equivalent to the 'else'-statement:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/scene/resources/text_paragraph.cpp#L496-L500
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/scene/resources/text_paragraph.cpp#L646-L650
10. Shouldn't `sizeof(long_filename_buff)` be replaced with `file_info.size_filename` since `sizeof(long_filename_buff)` is the size of the pointer and not the buffer?:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/zip/zip_reader.cpp#L69-L70

### Steps to reproduce

N/A

### Minimal reproduction project

N/A
{ 0x0D00, 0x0D7F, U"Malayalam" },
	{ 0x0D80, 0x0DFF, U"Sinhala" },
	{ 0x0E00, 0x0E7F, U"Thai" },
	{ 0x0E80, 0x0EFF, U"Lao" },
	{ 0x0F00, 0x0FFF, U"Tibetan" },
	{ 0x1000, 0x109F, U"Myanmar" },
	{ 0x10A0, 0x10FF, U"Georgian" },
	{ 0x1100, 0x11FF, U"Hangul Jamo" },
	{ 0x1200, 0x137F, U"Ethiopic" },
	{ 0x1380, 0x139F, U"Ethiopic Supplement" },
	{ 0x13A0, 0x13FF, U"Cherokee" },
	{ 0x1400, 0x167F, U"Unified Canadian Aboriginal Syllabics" },
	{ 0x1680, 0x169F, U"Ogham" },
	{ 0x16A0, 0x16FF, U"Runic" },
	{ 0x1700, 0x171F, U"Tagalog" },
	{ 0x1720, 0x173F, U"Hanunoo" },
	{ 0x1740, 0x175F, U"Buhid" },
	{ 0x1760, 0x177F, U"Tagbanwa" },
	{ 0x1780, 0x17FF, U"Khmer" },
	{ 0x1800, 0x18AF, U"Mongolian" },
	{ 0x18B0, 0x18FF, U"Unified Canadian Aboriginal Syllabics Extended" },
	{ 0x1900, 0x194F, U"Limbu" },
	{ 0x1950, 0x197F, U"Tai Le" },
	{ 0x1980, 0x19DF, U"New Tai Lue" },
	{ 0x19E0, 0x19FF, U"Khmer Symbols" },
	{ 0x1A00, 0x1A1F, U"Buginese" },
	{ 0x1A20, 0x1AAF, U"Tai Tham" },
	{ 0x1AB0, 0x1AFF, U"Combining Diacritical Marks Extended" },
	{ 0x1B00, 0x1B7F, U"Balinese" },
	{ 0x1B80, 0x1BBF, U"Sundanese" },