class_docstr: Inspects a given class and collects information about its instance
  methods.
  
  Args:
      cls (Type): The class to inspect.
docstr: Returns :obj:`True` if able to read the source file of the
  inspected class.
docstr_tok: ["Returns",":","obj",":","`","True","`","if","able","to","read","the","source","file","of","the","inspected","class","."]
code: def can_read_source(self) -> bool:
      r"""Returns :obj:`True` if able to read the source file of the
      inspected class.
      """
      try:
          inspect.getfile(self._cls)
          return True
      except Exception:
          return False
  
imports: import inspect
  import re
  import sys
  import typing
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Type, Union
  from torch import Tensor
label_desc: Use image node_id 17 for calling the Inspector obj's underlying member method code with example usage: obj.can_read_source() and returns: True, False