[PATCH v1 3/3] string: Move enableddisabled() helper under string.h hood