The `QgsSettings.contains` method is a function in the QGIS Python API (`qgis.core`) that is used to check whether a specific key exists in the QGIS application settings. The method takes a single argument, `key`, which is the name of the setting to be checked. If the specified key is found in the application settings, the method returns `True`; otherwise, it returns `False`. This method is commonly used to determine if a specific setting is present before accessing or modifying it.
Python QgsSettings.contains - 29 examples found. These are the top rated real world Python examples of qgis.core.QgsSettings.contains extracted from open source projects. You can rate examples to help us improve the quality of examples.