public function hasPassphraseAtKey($keyPath) { if ($this->getPassphraseAtKey($keyPath) === null) { return false; } else { return true; } }