/**
  * Return true if the password can be set.
  *
  * @return boolean
  */
 public function canSetPassword()
 {
     return $this->isActive() && $this->definition->canSetPassword();
 }