Rather than adding another if statement, the condition should be added to the existing if statement
  if (enableAltF4 && e.key == OpenTK.Input.Key.F4 && keys.Contains.(Keys.LeftAlt))