It is not a requirement, but companies within batches, and within Ycombinator in general have a unique insight into the demands and pain-points of their fellow companies. This is why each batch usually has a handful of companies working on products specifically designed for other companies (e.g., MailGun, SendHub, Heroku, Mixpanel etc). Some of the companies pivot toward building tools if/when they discover their original idea isn't getting traction.