For purposes of determining whether or not a person has committed a second or subsequent offense under the provisions of this article, a violation of any other provision of this article or provision of law of the United States or any state, territory, or district, relating to an anabolic steroid, constitutes a prior offense.