(B) impairs the individual's ability to function.
The term includes intellectual disability, alcoholism, and addiction to narcotics or dangerous drugs, and, for purposes of IC 12-26-5, the term includes temporary impairment as a result of alcohol or drug use.