"""
Validate.

Holds validate information.

Attributes:
 - error (List)

Properties:
 - success
"""


class Validate:
    """Validate."""

    errors = []

    @property
    def success(self):
        """Return bool if the validation was a sucess."""
        if self.errors:
            return False
        return True
