public static boolean isWrite(Collection<OpenFlag> flags) {
			return flags.contains(OpenFlag.O_WRONLY) || flags.contains(OpenFlag.O_RDWR);
		}
Check if the given flags indicate open for writing

@param flags the flags
@return true for writing
Ghidra/Features/SystemEmulation/src/main/java/ghidra/pcode/emu/unix/EmuUnixFileSystem.java