code: def get(self, logicalId):
          
          if logicalId not in self.resources:
              return None
  
          return SamResource(self.resources.get(logicalId))
docs: Gets the resource at the given logicalId if present
  
          :param string logicalId: Id of the resource
          :return SamResource: Resource, if available at the Id. None, otherwise