Not directly. You could check the market time. But even in during market hours it can still happen that the trade is not filled due to low liquidity.