docs: def get_current_bios_settings(self, only_allowed_settings=True):
          """Get current BIOS settings.
  
          :param: only_allowed_settings: True when only allowed BIOS settings
                  are to be returned. If False, All the BIOS settings supported
                  by iLO are returned.
          :return: a dictionary of current BIOS settings is returned. Depending
                   on the 'only_allowed_settings', either only the allowed
                   settings are returned or all the supported settings are
                   returned.
          :raises: IloError, on an error from iLO.
          :raises: IloCommandNotSupportedError, if the command is not supported
                   on the server.
          """
          headers, bios_uri, bios_settings = self._check_bios_resource()
          # Remove the "links" section
          bios_settings.pop("links", None)
          if only_allowed_settings:
              return utils.apply_bios_properties_filter(
                  bios_settings, constants.SUPPORTED_BIOS_PROPERTIES)
          return bios_settings