The Pennsylvania Superior Court has held that an unwed father has standing to seek a declaratory judgment regarding whether he is the father of a child born out of wedlock in order to determine his legal rights in relation to the child.
In re Mengel, 287 Pa. Super. 186, 429 A.2d 1162 (1981).
Maria V. Mayercheck,
Declaratory Judgment - Paternity - Unwed Father's Rights,
Duq. L. Rev.
Available at: https://dsc.duq.edu/dlr/vol20/iss4/9