code: public function has($elementOrFieldset)
      {
          if (parent::has($elementOrFieldset)) {
              return true;
          }
  
          if ($elementOrFieldset === 'identity' && $this->identityElement) {
              $elementOrFieldset = $this->identityElement->getName();
          } else {
              return false;
          }
  
          return parent::has($elementOrFieldset);
      }
docs: {@inheritDoc}