Will cocaine use I did 15 years ago hurt my chances to be a cop?

I took my first polygraph and admitted to using cocaine 5-7 times in my life. I am now 35 years old and I was 17 when this occurred, will this hinder me from ever becoming a cop?