§660-27  Return, hearing.  The person imprisoned or restrained may deny any of the facts set forth in the return and may allege other material facts, and the court shall proceed in a summary way to examine the causes of imprisonment or restraint and to hear evidence which may be offered by any person interested or authorized to appear either in support of the imprisonment or restraint or against it, and thereupon to dispose of the party as law and justice may require.