code: def region(self, bounds):
          
          if not isinstance(bounds, Bounds):
              raise TypeError("region param bounds must be isinstance of Bounds")
          _d = copy.copy(self)
          _d._bounds = bounds
          return _d
docs: Set region of the screen area
          Args:
              bounds: Bounds object
  
          Returns:
              A new AndroidDevice object
  
          Raises:
              TypeError