<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _validated(self, data):
 """Validate data if all subschemas validate it."""

        for sub in self.schemas:
            data = sub(data)
        return data