@property
    def has_pending_transactions(self):
        return self.chain.head_candidate.num_transactions() > 0
dataset/ETHPy150Open HydraChain/hydrachain/hydrachain/consensus/manager.py/ConsensusManager.has_pending_transactions/original