Is there a way to analyze my code I want to release as opensource to see if it is / or has parts that are already licensed or proprietary?  
How can I determine if some code I want to release as opensource is already licensed or proprietary?
licensing;proprietary code
Yes, there are (paid) services such as Black Duck  or Open Logic that will audit your code, and report all of the licensed pieces of software found.They will even find snippets in your code which are copy/pasted or too closely resemble snippets found on the internet which are shared with an unfavorable license.