input: Write a function to create a Python object that contains two attributes, "Name" and "Age". The function should return an instance of this object with the given name and age. If either the name or age is missing or invalid, the function should return None.
  assert create_person("John", 25).__dict__=={'name': 'John', 'age': 25}
  assert create_person("Alice", 30).__dict__=={'name': 'Alice', 'age': 30}
  assert create_person("", 25)==None
  assert create_person("Bob", -1)==None
  assert create_person("Charlie", 0).__dict__=={'name': 'Charlie', 'age': 0}
  assert create_person(None, 25)==None
output: class Person:
      def __init__(self, name, age):
          self.name = name
          self.age = age
  
  def create_person(name, age):
      if not name or not isinstance(name, str) or age is None or not isinstance(age, int) or age < 0:
          return None
      return Person(name, age)