input: Write a function to initialize objects of type Student in Python containing relevant attributes. If the function is called with appropriate arguments, it should return an instance of the Student class. If the function is called without arguments, it should return None.
  
  class Student:
      def __init__(self, name=None, age=None, gender=None):
          self.name = name
          self.age = age
          self.gender = gender
  
  def create_student_instance(name=None, age=None, gender=None):
      if name is None and age is None and gender is None:
          return None
      return Student(name, age, gender)
  
  assert create_student_instance("Alice", 20, "Female").name == "Alice"
  assert create_student_instance("Bob", 22, "Male").age == 22
  assert create_student_instance("Charlie", 21, "Male").gender == "Male"
  assert create_student_instance() is None
  assert isinstance(create_student_instance("Dave", 23, "Male"), Student)
output: def create_student_instance(name=None, age=None, gender=None):
      if name is None and age is None and gender is None:
          return None
      return Student(name, age, gender)