The court may inform itself of such laws in such manner as it may deem proper, and the court may call upon counsel to aid it in obtaining such information.