. . "During the hearing, the court may take such evidence as necessary and enter an order determining whether or not the consent of the biological father is necessary." . .