Before ruling on a guardianship petition, a court may order any investigation that the court considers necessary.