Any way to check if modifiers used with keys

We can check for modifiers when using callbacks with keys. But is there any way to do this with glfwGetKey? Or do you have to work around it with something like this glfwGetKey(window, GLFW_KEY_E) && glfwGetKey(window, GLFW_KEY_LEFT_SHIFT)?

The only way to check for modifiers is indeed to check for all modifier keys using their key tokens.

You could potentially store the state from the callback and implement your own GetKeyModifiers function.