def unlocked(self):
if self.password is not None:<EOL><INDENT>return bool(self.password)<EOL><DEDENT>else:<EOL><INDENT>if (<EOL>"<STR_LIT>" in os.environ<EOL>and os.environ["<STR_LIT>"]<EOL>and self.config_key in self.config<EOL>and self.config[self.config_key]<EOL>):<EOL><INDENT>log.debug("<STR_LIT>" "<STR_LIT>")<EOL>self.unlock(os.environ.get("<STR_LIT>"))<EOL>return bool(self.password)<EOL><DEDENT><DEDENT>return False<EOL>
Is the store unlocked so that I can decrypt the content?