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