code: protected function getLabel()
      {
          if (null === ($attribute = $this->getFilteredAttribute())) {
              return null;
          }
          if ($label = $this->get('label')) {
              return $label;
          }
  
          return $attribute->getName();
      }
docs: Return the label to use.
  
  @return string|null