'Helper for tree to print DB install status.'

def _install_status(self):

    if (not self.concrete):
        return None
    try:
        record = spack.store.db.get_record(self)
        return record.installed
    except KeyError:
        return None
