Check attributes.

def validate(mcs, bases, attributes):
        """Check attributes."""
        if bases[0] is object:
            return None
        mcs.check_model_cls(attributes)
        mcs.check_include_exclude(attributes)
        mcs.check_properties(attributes)