Police are investigating whether New South Wales politician David Elliott broke the law at a gun range.