Prior art has to be extent in the public domain before the priority date. Court records count, they have well established dates which makes them good. Disclosure of an invention in public, outside of the allowed uses in the US, will also invalidate a patent.