code: def _call_dunder_colr(cls, obj):
          
          if _disabled:
              # No colorization when disabled. Just use str.
              return obj
          clr = obj.__colr__()
          if not isinstance(clr, cls):
              # __colr__ should always return a Colr.
              # Future development may assume a Colr was returned.
              raise TypeError(
                  ' '.join((
                      '__colr__ methods should return a {} instance.',
                      'Got: {}',
                  )).format(
                      cls.__name__,
                      type(clr).__name__,
                  )
              )
          return clr
docs: Call __colr__ on an object, after some checks.
              If color is disabled, the object itself is returned.
              If __colr__ doesn't return a Colr instance, TypeError is raised.
              On success, a Colr instance is returned from obj.__colr__().