I do and what's said above is not the case in my company. When we submit a patent we actually have to do our own search for prior art (either published scientific papers, or patents) before some patent lawyer does its own patent search.
You have no recourse to prove you did not copy the idea under the current system. The general rule for software developers/patents creators is NOT to look at someone else's work. Let a third party researcher do it and let them decide. As an inventor you have to have a clean room design.