<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_xblock_settings(self, default=None):
 """ Gets XBlock-specific settigns for current XBlock Returns default if settings service is not available. Parameters: default - default value to be used in two cases: * No settings service is available * As a `default` parameter to `SettingsService.get_settings_bucket` """

        settings_service = self.runtime.service(self, "settings")
        if settings_service:
            return settings_service.get_settings_bucket(self, default=default)
        return default