The text implies a double meaning. The first is the literal interpretation where 'it' could refer to something the dog left behind, such as a toy. The second, implied meaning is that 'it' refers to dog excrement, which is a common issue between neighbors. The humor arises from the polite phrasing contrasted with the unpleasant subject.
Hey , is this yours ? Your dog left it on my lawn . . .