For a fee, an attorney will research the law and advise you regarding those laws. Almost certainly that fee will be less than the attorney's fee if you are charged with a crime.
It has been my personal experience that if you ask 10 law enforcement officers the same question regarding firearms, you will get
at least 3 different and conflicting answers. I recall reading somewhere that if a police officer knew the laws, he would be called a lawyer and get paid a lot more money. There's certainly a kernel of truth in that aphorism.