public function isValid()
    {
        $isValid = parent::isValid();
        if ($isValid) {
            if (is_object($this->object)) {
                $this->bind($this->object);
            } else {
                $filter = $this->getInputFilter();
                $this->setData($filter->getValues());
            }
        }
        
        $this->getEventManager()->trigger(static::EVENT_IS_VALID, $this, [
            'isValid' => $isValid
        ]);
        
        return $isValid;
    }
public function isValid()
    {
        $isValid = parent::isValid();
        if ($isValid) {
            if (is_object($this->object)) {
                $this->bind($this->object);
            } else {
                $filter = $this->getInputFilter();
                $this->setData($filter->getValues());
            }
        }
        
        $this->getEventManager()->trigger(static::EVENT_IS_VALID, $this, [
            'isValid' => $isValid
        ]);
        
        return $isValid;
    }
{@inheritDoc}
Rebinds the bound object or sets data to the filtered values.