class_docstr: Mock explainer that allows testing most of the functionality in alibi.utils.distributed. 
docstr: Returns an attribute specified by its name. Used in a distributed context where the actor properties cannot be
  accessed using the dot syntax.
docstr_tok: ["Returns","an","attribute","specified","by","its","name",".","Used","in","a","distributed","context","where","the","actor","properties","can","not","be","accessed","using","the","dot","syntax","."]
code: def return_attribute(self, name: str):
      """
      Returns an attribute specified by its name. Used in a distributed context where the actor properties cannot be
      accessed using the dot syntax.
      """
      return self.__getattribute__(name)
  
imports: import inspect
  import os
  import pytest
  import time
  from itertools import product
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  from alibi.utils.distributed import DistributedExplainer, PoolCollection, ResourceError, invert_permutation, concatenate_minibatches
label_desc: Use image node_id 3 for calling the MockExplainer obj's underlying member method code with example usage: obj.return_attribute(name) and returns: self