code: def closest(self, obj, group, defaults=True):
          
          components = (obj.__class__.__name__,
                        group_sanitizer(obj.group),
                        label_sanitizer(obj.label))
          target = '.'.join([c for c in components if c])
          return self.find(components).options(group, target=target,
                                               defaults=defaults)
docs: This method is designed to be called from the root of the
          tree. Given any LabelledData object, this method will return
          the most appropriate Options object, including inheritance.
  
          In addition, closest supports custom options by checking the
          object