public function isPasswordValid(string $plain, string $encoded, array $options = []): bool
    {
        if($this->getExpectsPlainUserCredentials())
            $plain = parent::encodePassword($plain, $options);
        $response = $this->encodePassword($plain, $options);
        return $this->comparePasswords($encoded, $response);
    }