def get_float(self, key, optional=False):
        """
        Tries to fetch a variable from the config and expects it to be strictly a float
        :param key: Variable to look for
        :param optional: Whether to raise ConfigKeyNotFoundError if key was not found
        :return: float
        """
        return self._get_typed_value(key, float, lambda x: float(x), optional)
Tries to fetch a variable from the config and expects it to be strictly a float
        :param key: Variable to look for
        :param optional: Whether to raise ConfigKeyNotFoundError if key was not found
        :return: float