def METHOD_NAME(name: str, value=True):
    """Describes attributes that change the behavior of application-wide
    features."""
    if hasattr(Qt, name):
        # Does Qt have this attribute
        attr = getattr(Qt, name)
        if not QtCore.QCoreApplication.testAttribute(attr) == value:
            # Only set if not already set
            QtCore.QCoreApplication.setAttribute(attr, value)