def isShiftCharacter(character):
    """Returns True if the key character is uppercase or shifted."""
    return character.isupper() and character in '~!@#$%^&*()_+{}|:"<>?'


# The platformModule is where we reference the platform-specific functions.
dataset/ETHPy150Open asweigart/pyautogui/pyautogui/__init__.py/isShiftCharacter/operator `or` -> `and`