roclcdr: check if the current block is a valid pointer