Task: songer_pretrial

What follows is an opinion from a United States Court of Appeals. You will be asked a question pertaining to issues that may appear in any civil law cases including civil government, civil private, and diversity cases. The issue is: "Did the court's rulings on pre-trial procedure favor the appellant?" This includes whether or not there is a right to jury trial, whether the case should be certified as a class action, or whether a prospective party has a right to intervene in the case, but does not include rulings on motions for summary judgment. Answer the question based on the directionality of the appeals court decision. If the court discussed the issue in its opinion and answered the related question in the affirmative, answer "Yes". If the issue was discussed and the opinion answered the question negatively, answer "No". If the opinion considered the question but gave a mixed answer, supporting the respondent in part and supporting the appellant in part, answer "Mixed answer". If the opinion does not discuss the issue, or notes that a particular issue was raised by one of the litigants but the court dismissed the issue as frivolous or trivial or not worthy of discussion for some other reason, answer "Issue not discussed". If the opinion considered the question but gave a "mixed" answer, supporting the respondent in part and supporting the appellant in part (or if two issues treated separately by the court both fell within the area covered by one question and the court answered one question affirmatively and one negatively), answer "Mixed answer". If the opinion either did not consider or discuss the issue at all or if the opinion indicates that this issue was not worthy of consideration by the court of appeals even though it was discussed by the lower court or was raised in one of the briefs, answer "Issue not discussed".

PER CURIAM:
Plaintiff Herbert Thomas, a New York State prisoner, appeals from a final judgment of the United States District Court for the Southern District of New York, Charles L. Brieant, Chief Judge, dismissing his pro se complaint which contended that his rights under the First Amendment to the Constitution were violated by a policy promulgated by defendant Charles Scully, Superintendent of Green Haven Correctional Facility, prohibiting inmates from possessing noncommercial nude photographs. Thomas complained that prison officials, pursuant to that policy, confiscated nude photographs mailed to him by his girlfriend and returned them to the sender. The district court, sua sponte, dismissed the complaint pursuant to Fed.R.Civ.P. 12(b)(6) and 28 U.S.C. § 1915(d) (1988) on the ground that the regulation was rationally related to the goal of maintaining prison security, and thus Thomas’s claim did not rise to the level of a constitutional violation. On appeal, now represented by appointed counsel, Thomas contends that the court erred (1) in ruling on the complaint without giving him an opportunity to be heard, and (2) in concluding that the challenged regulation was permissible. For the reasons below, we agree with the procedural contention and remand for further consideration of the merits.
Though the district court has the power to dismiss a complaint sua sponte for failure to state a claim on which relief can be granted, it may not properly do so without giving the plaintiff an opportunity to be heard. See, e.g., Perez v. Ortiz, 849 F.2d 793, 797 (2d Cir.1988); 5A C. Wright & A. Miller, Federal Practice and Procedure § 1357, at 301 (1990) (“court on its own initiative may note the inadequacy of the complaint and dismiss it for failure to state a claim as long as the procedure employed is fair”). Section 1915(d) gives the court the power to dismiss a pro se complaint sua sponte if the complaint is frivolous. A complaint may fail to state a claim on which relief may be granted without being frivolous. Neitzke v. Williams, 490 U.S. 319, 109 S.Ct. 1827, 1832, 104 L.Ed.2d 338 (1989).
There is no suggestion in the decision of the district court that the complaint in the present case was frivolous, and we conclude that it was not frivolous. Thus dismissal pursuant to § 1915(d) was inappropriate. We also conclude that the dismissal pursuant to Rule 12(b)(6) was inappropriate, both because it was sua sponte and thus gave Thomas no opportunity to defend the complaint, and because, whatever its merit, the complaint did state a claim on which relief could be granted. The district court’s rationale that the regulation adopted by the defendant was reasonable and valid went beyond the face of the complaint and addressed the merits of the case.
Accordingly, we vacate the judgment of dismissal and remand to the district court for proceedings addressing the merits of Thomas’s complaint. We suggest that the district court continue the appointment of counsel for Thomas in connection with those further proceedings.
No costs.

Question: Did the court's rulings on pre-trial procedure favor the appellant? This includes whether or not there is a right to jury trial, whether the case should be certified as a class action, or whether a prospective party has a right to intervene in the case, but does not include rulings on motions for summary judgment.
A. No
B. Yes
C. Mixed answer
D. Issue not discussed
Answer:

Answer: B