Section 2. The legality of such investment shall not be impugned whether the person, or persons, firm, or corporation, or association, board, or commission, making the same be foreign or domestic; or whether such investment be made from capital, reserves, or surplus; or whether made in a fiduciary or other capacity.