Checking if transaction is RBF A transaction can be RBF if itself is a RBF, or it spends outputs from a RBF transaction.

Is there a way to use bitcoin RPC node to check if a transaction is spending outputs from a RBF transcation?
The getrawmempool RPC command, in verbose mode, produces an output that contains all known mempool transactions for your nodes. This output contains a bip125-replaceable boolean field which you can use to determine if a tx is explicitly or implicitly replaceable by fee.