Same as above? I.e. should this not be `isGenerateKeyPair()`?