SDRAM: LDQM and UDQM pins

Is it possible to check whether the LDQM and UDQM pins of the SDRAM are actually connected to pins A7 and F9 of the FPGA?

If I run a WRITE command with high LDQM and low UDQM, both bytes are written anyway.