Task: Wrong Candidate Generation
Input (English): of decision, and this is how the INS has consistently understood these terms.”); Fierro v. Reno, 217 F.3d 1, 4 (1st Cir.2000) (“[Sjubject to possible limitation, we think that the requirement of ‘legal custody’ in section 1432 should be taken presumptively to mean legal custody under the law of the state in question.”). Our decision to look to state law is consistent with our practice in other areas of federal law generally, and immigration law specifically. For example, entitlement to federal social security benefits often hinges on marital status as defined by state law. See Califano v. Jobst, 434 U.S. 47, 52-53 n. 8, 98 S.Ct. 95, 54 L.Ed.2d 228 (1977); Purganan v. Schweiker, 665 F.2d 269, 270-71 (9th Cir.1982); see also Gillett-Netting v. Barnhart, 371 F.3d 593, 599 (9th Cir.2004) (<HOLDING>). Similarly, in the immigration context, 
 Holding statements: (A) holding that the federal due process clause protects a state employee who under state law has a legitimate claim of entitlement to state employment (B) holding that statute does not provide for the adjudication by the alj of a state law breach of contract action for damages that is independent of the aljs determination of entitlement to benefits under the terms of the applicable agreement (C) holding that determination of whether an official was acting on behalf of the state or the local government is determined by state law (D) holding that whether children are legitimate for purposes of entitlement to insurance benefits is determined by state law (E) holding that applicants for welfare benefits had a property interest or legitimate claim of entitlement and were entitled to due process to protect that interest
Output (English): holding that determination of whether an official was acting on behalf of the state or the local government is determined by state law