diff --git a/volatility/framework/objects/__init__.py b/volatility/framework/objects/__init__.py index 3d3fcd5b9..04101c92d 100644 --- a/volatility/framework/objects/__init__.py +++ b/volatility/framework/objects/__init__.py @@ -467,7 +467,7 @@ class Enumeration(interfaces.objects.ObjectInterface, int): return self._vol['choices'] @property - def legal(self) -> bool: + def is_valid_choice(self) -> bool: """Returns whether the value for the object is a valid choice""" return self in self.choices.values()