<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def locateChild(self, context, segments):
 """ Return a statically defined child or a child defined by a site root plugin or an avatar from guard. """

        request = IRequest(context)
        webViewer = IWebViewer(self.store, None)
        childAndSegments = self.siteProduceResource(request, segments, webViewer)
        if childAndSegments is not None:
            return childAndSegments
        return NotFound