def METHOD_NAME(self, key):
    if any([x in key for x in self.FORBIDDEN_CHARS_KEYS]):
        raise EvalEntryNameError(
            f"Invalid name: {key}. Must not contain any of the following "
            f"characters: {self.FORBIDDEN_CHARS_KEYS}"
        )