I think that's a bit of the purpose of the scientific service of the parliament (e.g. https://de.wikipedia.org/wiki/Wissenschaftliche_Dienste_des_..., not sure how this is called in other countries)
Also you can ask anyone you like about your legislative proposal, including the judges of a court.