Better way of checking for citation structure