code: def contains(self, key):
      '''Returns whether the object named by `key` exists.
      Optimized to only check whether the file object exists.
  
      Args:
        key: Key naming the object to check.
  
      Returns:
        boalean whether the object exists
      '''
      path = self.object_path(key)
      return os.path.exists(path) and os.path.isfile(pathf contains(self, key):
      '''Returns whether the object named by `key` exists.
      Optimized to only check whether the file object exists.
  
      Args:
        key: Key naming the object to check.
  
      Returns:
        boalean whether the object exists
      '''
      path = self.object_path(key)
      return os.path.exists(path) and os.path.isfile(path)
docs: Returns whether the object named by `key` exists.
      Optimized to only check whether the file object exists.
  
      Args:
        key: Key naming the object to check.
  
      Returns:
        boalean whether the object exists