def METHOD_NAME(self, operation_name=None, raw=False):
    if not operation_name:
        if not raw:
            return self.enabled_operations
        return self.raw_operations
    if raw:
        return operation_name in self.raw_operations
    return operation_name in self.enabled_operations