if the laws passed are seen to have a reasonable relation to a proper legislative purpose , and are neither arbitrary nor discriminatory , the requirements of due process are satisfied , and judicial determination to that effect renders a court functus officio .